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