Spaces:
Runtime error
Runtime error
ADD visitor badge
Browse files
app.py
CHANGED
@@ -57,7 +57,9 @@ with gr.Blocks() as demo:
|
|
57 |
get_image_latent = gr.Button("Generate Image", css={"margin-top": "1em"})
|
58 |
with gr.Row():
|
59 |
gr.Markdown("<a href='https://huggingface.co/spaces/merve/GPT-2-story-gen' target='_blank'>Story generation with GPT-2</a>, and text to image by <a href='https://huggingface.co/spaces/multimodalart/latentdiffusion' target='_blank'>Latent Diffusion</a>.")
|
60 |
-
|
|
|
|
|
61 |
|
62 |
button_generate_story.click(get_story, inputs=[user_input, genre_input], outputs=generated_story)
|
63 |
get_image_latent.click(text2image_latent, inputs=[generated_story,steps,width,height,images,diversity], outputs=gallery)
|
|
|
57 |
get_image_latent = gr.Button("Generate Image", css={"margin-top": "1em"})
|
58 |
with gr.Row():
|
59 |
gr.Markdown("<a href='https://huggingface.co/spaces/merve/GPT-2-story-gen' target='_blank'>Story generation with GPT-2</a>, and text to image by <a href='https://huggingface.co/spaces/multimodalart/latentdiffusion' target='_blank'>Latent Diffusion</a>.")
|
60 |
+
with gr.Row():
|
61 |
+
gr.Markdown("")
|
62 |
+
|
63 |
|
64 |
button_generate_story.click(get_story, inputs=[user_input, genre_input], outputs=generated_story)
|
65 |
get_image_latent.click(text2image_latent, inputs=[generated_story,steps,width,height,images,diversity], outputs=gallery)
|