Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,11 @@ with gr.Blocks(theme=theme) as demo:
|
|
48 |
img = gr.Image(show_label=False, type='pil')
|
49 |
textbox = gr.Textbox(show_label=False, placeholder='type your prompt in here')
|
50 |
button = gr.Button("generate", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
51 |
button.click(fn=generate, inputs=textbox, outputs=img)
|
52 |
textbox.submit(fn=generate, inputs=textbox, outputs=img)
|
53 |
|
|
|
48 |
img = gr.Image(show_label=False, type='pil')
|
49 |
textbox = gr.Textbox(show_label=False, placeholder='type your prompt in here')
|
50 |
button = gr.Button("generate", variant="primary")
|
51 |
+
|
52 |
+
gr.Markdown("""
|
53 |
+

|
54 |
+
""")
|
55 |
+
|
56 |
button.click(fn=generate, inputs=textbox, outputs=img)
|
57 |
textbox.submit(fn=generate, inputs=textbox, outputs=img)
|
58 |
|