gradio upd

This commit is contained in:
Johannes Stelzer 2023-02-23 10:32:53 +01:00
parent c161403497
commit 465eb642d6
1 changed files with 4 additions and 3 deletions

View File

@ -353,12 +353,13 @@ if __name__ == "__main__":
# self = BlendingFrontend(None) # self = BlendingFrontend(None)
with gr.Blocks() as demo: with gr.Blocks() as demo:
gr.HTML(""" gr.HTML("""<h1>Latent Blending</h1>
<p>Create butter-smooth transitions between prompts, powered by stable diffusion</p>
<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
<br/> <br/>
<a href="https://huggingface.co/spaces/Adapter/T2I-Adapter?duplicate=true"> <a href="https://huggingface.co/spaces/lunarring/latentblending?duplicate=true">
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
<p/>""") </p>""")
with gr.Row(): with gr.Row():
prompt1 = gr.Textbox(label="prompt 1") prompt1 = gr.Textbox(label="prompt 1")