Spaces:
Runtime error
Runtime error
jannisborn
commited on
update
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ if __name__ == "__main__":
|
|
105 |
minimum=5, maximum=1024, value=512, label="Maximal length", step=1
|
106 |
),
|
107 |
gr.Slider(minimum=2, maximum=500, value=50, label="Top-k", step=1),
|
108 |
-
gr.Slider(minimum=0.5, maximum=1, value=
|
109 |
],
|
110 |
outputs=gr.Textbox(label="Output"),
|
111 |
article=article,
|
|
|
105 |
minimum=5, maximum=1024, value=512, label="Maximal length", step=1
|
106 |
),
|
107 |
gr.Slider(minimum=2, maximum=500, value=50, label="Top-k", step=1),
|
108 |
+
gr.Slider(minimum=0.5, maximum=1.0, value=0.95, label="Top-p"),
|
109 |
],
|
110 |
outputs=gr.Textbox(label="Output"),
|
111 |
article=article,
|