daspartho commited on
Commit
1f3941c
1 Parent(s): 7550432

add duplicate badge

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
2
  from magic_mix import magic_mix
3
 
4
  iface = gr.Interface(
5
- description = "Implementation of MagicMix: Semantic Mixing with Diffusion Models paper",
6
- article = "<p style='text-align: center'><a href='https://github.com/daspartho/MagicMix' target='_blank'>Github</a></p>",
7
  fn=magic_mix,
8
  inputs=[
9
  gr.Image(shape=(512,512), type="pil"),
 
2
  from magic_mix import magic_mix
3
 
4
  iface = gr.Interface(
5
+ description = """<p>Implementation of <a href='https://arxiv.org/abs/2210.16056' target='_blank'>MagicMix: Semantic Mixing with Diffusion Models</a> paper. Check out the <a href='https://github.com/daspartho/MagicMix' target='_blank'>Github repo</a> for the implementation.</p>
6
+ <p><a href="https://huggingface.co/spaces/daspartho/MagicMix?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></p>""",
7
  fn=magic_mix,
8
  inputs=[
9
  gr.Image(shape=(512,512), type="pil"),