Catmeow commited on
Commit
8e45176
1 Parent(s): b96ad68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ demo = gr.Interface(
18
  inputs=[
19
  gr.Textbox(lines=5, label="Input Text"),
20
  gr.Dropdown(choices=['gpt2','gpt2-medium','gpt2-large','gpt2-xl'],value = 'gpt2',label="Choose model"),
21
- gr.Slider(value=50,label="Max Length",minimum=1,maximum=200),
22
  gr.Slider(value=1.0,label="Temperature",minimum=0.0,maximum=1.0,step=0.05),
23
  gr.Slider(value=4,label="Num Beams",minimum=2,maximum=6,step=1),
24
  gr.Slider(value=90,label="Top-k",minimum=0,maximum=100),
 
18
  inputs=[
19
  gr.Textbox(lines=5, label="Input Text"),
20
  gr.Dropdown(choices=['gpt2','gpt2-medium','gpt2-large','gpt2-xl'],value = 'gpt2',label="Choose model"),
21
+ gr.Slider(value=50,label="Max Length",minimum=1,maximum=1000),
22
  gr.Slider(value=1.0,label="Temperature",minimum=0.0,maximum=1.0,step=0.05),
23
  gr.Slider(value=4,label="Num Beams",minimum=2,maximum=6,step=1),
24
  gr.Slider(value=90,label="Top-k",minimum=0,maximum=100),