Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def gen_fn(model_str, prompt):
|
|
51 |
|
52 |
with gr.Blocks() as demo:
|
53 |
with gr.Tab('Toy World'):
|
54 |
-
txt_input = gr.Textbox(label
|
55 |
gen_button = gr.Button('Generate up to 2 images in up to 20 seconds')
|
56 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
57 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
|
|
51 |
|
52 |
with gr.Blocks() as demo:
|
53 |
with gr.Tab('Toy World'):
|
54 |
+
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
55 |
gen_button = gr.Button('Generate up to 2 images in up to 20 seconds')
|
56 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
57 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|