Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def gen_fn(model_str, prompt):
|
|
44 |
|
45 |
with gr.Blocks() as demo:
|
46 |
with gr.Tab('The Dream'):
|
47 |
-
txt_input = gr.Textbox(label = 'Prompt text')
|
48 |
gen_button = gr.Button('Generate')
|
49 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
50 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
|
|
44 |
|
45 |
with gr.Blocks() as demo:
|
46 |
with gr.Tab('The Dream'):
|
47 |
+
txt_input = gr.Textbox(label = 'Prompt text').style(container=False,min_width=1200)
|
48 |
gen_button = gr.Button('Generate')
|
49 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
50 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|