add duplicate spaces badge

#1
by akhaliq HF staff - opened
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -38,6 +38,14 @@ with gr.Blocks(css='style.css') as demo:
38
  </div>
39
  """)
40
 
 
 
 
 
 
 
 
 
41
  with gr.Tab('Zero-Shot Text2Video'):
42
  # pass
43
  create_demo_text_to_video(model)
 
38
  </div>
39
  """)
40
 
41
+
42
+ gr.HTML("""
43
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
44
+ <br/>
45
+ <a href="https://huggingface.co/spaces/PAIR/Text2Video-Zero?duplicate=true">
46
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
47
+ </p>""")
48
+
49
  with gr.Tab('Zero-Shot Text2Video'):
50
  # pass
51
  create_demo_text_to_video(model)