add duplicate spaces badge

#4
by akhaliq HF staff - opened
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -79,11 +79,19 @@ examples = [
79
 
80
  title = "Stable Diffusion Infinite Zoom Out"
81
 
 
 
 
 
 
 
 
82
  demo_app = gr.Interface(
83
  fn=stable_diffusion_zoom_out,
84
  inputs=inputs,
85
  outputs=output,
86
  title=title,
 
87
  theme='huggingface',
88
  examples=examples,
89
  cache_examples=True
 
79
 
80
  title = "Stable Diffusion Infinite Zoom Out"
81
 
82
+ description = """
83
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
84
+ <br/>
85
+ <a href="https://huggingface.co/spaces/kadirnar/stable-diffusion-2-infinite-zoom-out?duplicate=true">
86
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
87
+ <p/>"""
88
+
89
  demo_app = gr.Interface(
90
  fn=stable_diffusion_zoom_out,
91
  inputs=inputs,
92
  outputs=output,
93
  title=title,
94
+ description=description,
95
  theme='huggingface',
96
  examples=examples,
97
  cache_examples=True