Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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),
|