add duplicate spaces badge

#2
by akhaliq HF staff - opened
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -18,6 +18,13 @@ if __name__=="__main__":
18
  # Make the header of the demo website
19
  gr.HTML(HTML_header)
20
 
 
 
 
 
 
 
 
21
  with gr.Row():
22
  # col A: the input image or synthetic image prompt
23
  with gr.Column(scale=2) as gc_left:
 
18
  # Make the header of the demo website
19
  gr.HTML(HTML_header)
20
 
21
+ gr.HTML("""
22
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
23
+ <br/>
24
+ <a href="https://huggingface.co/spaces/pix2pix-zero-library/pix2pix-zero-demo?duplicate=true">
25
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
26
+ <p/>""")
27
+
28
  with gr.Row():
29
  # col A: the input image or synthetic image prompt
30
  with gr.Column(scale=2) as gc_left: