Spaces:
Sleeping
Sleeping
Amitontheweb
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -361,7 +361,10 @@ with gr.Blocks() as demo:
|
|
361 |
|
362 |
text = gr.Textbox(
|
363 |
label="Prompt",
|
|
|
364 |
value="It's a rainy day today",
|
|
|
|
|
365 |
)
|
366 |
|
367 |
out_markdown = gr.Textbox()
|
@@ -392,7 +395,7 @@ with gr.Blocks() as demo:
|
|
392 |
|
393 |
#-------------GENERATE BUTTON-------------------
|
394 |
|
395 |
-
button = gr.Button("Generate", size:
|
396 |
|
397 |
button.click(
|
398 |
fn = generate,
|
|
|
361 |
|
362 |
text = gr.Textbox(
|
363 |
label="Prompt",
|
364 |
+
autoscroll: True,
|
365 |
value="It's a rainy day today",
|
366 |
+
min_width: 300,
|
367 |
+
scale: 2
|
368 |
)
|
369 |
|
370 |
out_markdown = gr.Textbox()
|
|
|
395 |
|
396 |
#-------------GENERATE BUTTON-------------------
|
397 |
|
398 |
+
button = gr.Button("Generate", size: 'sm')
|
399 |
|
400 |
button.click(
|
401 |
fn = generate,
|