Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,9 @@ theme = gr.themes.Base(
|
|
33 |
)
|
34 |
|
35 |
with gr.Blocks(theme=theme) as demo:
|
36 |
-
img = gr.Image(show_label=False, type='pil'
|
37 |
textbox = gr.Textbox(show_label=False)
|
38 |
-
button = gr.Button("generate")
|
39 |
button.click(fn=generate, inputs=textbox, outputs=img)
|
40 |
|
41 |
demo.launch()
|
|
|
33 |
)
|
34 |
|
35 |
with gr.Blocks(theme=theme) as demo:
|
36 |
+
img = gr.Image(show_label=False, type='pil')
|
37 |
textbox = gr.Textbox(show_label=False)
|
38 |
+
button = gr.Button("generate", variant="primary")
|
39 |
button.click(fn=generate, inputs=textbox, outputs=img)
|
40 |
|
41 |
demo.launch()
|