add duplicate spaces badge, title and description

#2
by akhaliq HF staff - opened
Files changed (1) hide show
  1. gradio_ui.py +8 -0
gradio_ui.py CHANGED
@@ -353,6 +353,14 @@ if __name__ == "__main__":
353
  # self = BlendingFrontend(None)
354
 
355
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
356
  with gr.Row():
357
  prompt1 = gr.Textbox(label="prompt 1")
358
  prompt2 = gr.Textbox(label="prompt 2")
353
  # self = BlendingFrontend(None)
354
 
355
  with gr.Blocks() as demo:
356
+
357
+ gr.HTML("""<h1>Latent Blending</h1>
358
+ <p>Create butter-smooth transitions between prompts, powered by stable diffusion</p>
359
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
360
+ <br/>
361
+ <a href="https://huggingface.co/spaces/lunarring/latentblending?duplicate=true">
362
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
363
+ </p>""")
364
  with gr.Row():
365
  prompt1 = gr.Textbox(label="prompt 1")
366
  prompt2 = gr.Textbox(label="prompt 2")