Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
1ca8986
1
Parent(s):
9a9b4f9
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ gr.Interface(
|
|
42 |
generator,
|
43 |
[gr.inputs.Textbox(label="input text", lines=5),
|
44 |
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=0.2, label="Temperature"),
|
45 |
-
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=1, label="Top P")
|
46 |
gr.inputs.Slider(minimum=1, maximum=400, step=10, default=300, label="Max Length")
|
47 |
],
|
48 |
gr.outputs.Textbox(label="Output text"),
|
|
|
42 |
generator,
|
43 |
[gr.inputs.Textbox(label="input text", lines=5),
|
44 |
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=0.2, label="Temperature"),
|
45 |
+
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=1, label="Top P"),
|
46 |
gr.inputs.Slider(minimum=1, maximum=400, step=10, default=300, label="Max Length")
|
47 |
],
|
48 |
gr.outputs.Textbox(label="Output text"),
|