jw2yang akhaliq HF staff commited on
Commit
d957a30
1 Parent(s): 3ff420c

add duplicate spaces badge (#4)

Browse files

- add duplicate spaces badge (76e36d415abc0317f041209fdfdfe62eaf52cd82)


Co-authored-by: AK <[email protected]>

Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -65,10 +65,16 @@ def inference(image, instruction, *args, **kwargs):
65
  '''
66
  launch app
67
  '''
 
68
  title = "Instructional Image Editing"
69
  description = """<p style='text-align: center'> <a href='https://x-decoder-vl.github.io/' target='_blank'>Project Page</a> | <a href='https://arxiv.org/pdf/2212.11270.pdf' target='_blank'>Paper</a> | <a href='https://github.com/microsoft/X-Decoder' target='_blank'>Github Repo</a> | <a href='https://youtu.be/wYp6vmyolqE' target='_blank'>Video</a></p>
70
  <p style='text-align: center; color: red;'> NOTE: This demo is mainly for object-centric instructional image editing! For style transfer please refer to the hero demo <a href='https://huggingface.co/spaces/timbrooks/instruct-pix2pix' target='_blank'>Instruct-Pix2Pix</a></p>
71
  <p style='text-align: center; color: blue;'><a href='https://f4e9a65e49843d41.gradio.app' target='_blank'>[Route1]</a> | <a href='https://7e9feb33a37ad852.gradio.app' target='_blank'>[Route2]</a> </p>
 
 
 
 
 
72
  """
73
 
74
  help_text = """
 
65
  '''
66
  launch app
67
  '''
68
+
69
  title = "Instructional Image Editing"
70
  description = """<p style='text-align: center'> <a href='https://x-decoder-vl.github.io/' target='_blank'>Project Page</a> | <a href='https://arxiv.org/pdf/2212.11270.pdf' target='_blank'>Paper</a> | <a href='https://github.com/microsoft/X-Decoder' target='_blank'>Github Repo</a> | <a href='https://youtu.be/wYp6vmyolqE' target='_blank'>Video</a></p>
71
  <p style='text-align: center; color: red;'> NOTE: This demo is mainly for object-centric instructional image editing! For style transfer please refer to the hero demo <a href='https://huggingface.co/spaces/timbrooks/instruct-pix2pix' target='_blank'>Instruct-Pix2Pix</a></p>
72
  <p style='text-align: center; color: blue;'><a href='https://f4e9a65e49843d41.gradio.app' target='_blank'>[Route1]</a> | <a href='https://7e9feb33a37ad852.gradio.app' target='_blank'>[Route2]</a> </p>
73
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
74
+ <br/>
75
+ <a href="https://huggingface.co/spaces/xdecoder/Instruct-X-Decoder?duplicate=true">
76
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
77
+ </p>
78
  """
79
 
80
  help_text = """