Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ theme = gr.themes.Base(
|
|
34 |
|
35 |
with gr.Blocks(theme=theme) as demo:
|
36 |
img = gr.Image(show_label=False, type='pil', height=512)
|
37 |
-
textbox = gr.Textbox(show_label=False)
|
38 |
button = gr.Button("generate", variant="primary")
|
39 |
button.click(fn=generate, inputs=textbox, outputs=img)
|
40 |
|
|
|
34 |
|
35 |
with gr.Blocks(theme=theme) as demo:
|
36 |
img = gr.Image(show_label=False, type='pil', height=512)
|
37 |
+
textbox = gr.Textbox(show_label=False, placeholder='type your prompt in here')
|
38 |
button = gr.Button("generate", variant="primary")
|
39 |
button.click(fn=generate, inputs=textbox, outputs=img)
|
40 |
|