Amitontheweb commited on
Commit
f84603c
·
verified ·
1 Parent(s): 1f13ffc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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: "sm")
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,