Amitontheweb commited on
Commit
a99b5bd
1 Parent(s): f84603c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -357,11 +357,11 @@ with gr.Blocks() as demo:
357
  label="Repetition penalty", minimum=0, maximum=3, step=1, value=float(0), info="Prior context based penalty for unique text"
358
  )
359
 
360
- with gr.Column(scale=0, min_width=200):
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
@@ -395,7 +395,7 @@ with gr.Blocks() as demo:
395
 
396
  #-------------GENERATE BUTTON-------------------
397
 
398
- button = gr.Button("Generate", size: 'sm')
399
 
400
  button.click(
401
  fn = generate,
 
357
  label="Repetition penalty", minimum=0, maximum=3, step=1, value=float(0), info="Prior context based penalty for unique text"
358
  )
359
 
360
+ with gr.Column(scale=1):
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
 
395
 
396
  #-------------GENERATE BUTTON-------------------
397
 
398
+ button = gr.Button("Generate", size='sm')
399
 
400
  button.click(
401
  fn = generate,