Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ demo = gr.ChatInterface(
|
|
91 |
gr.Textbox(value="", label="System message"),
|
92 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
93 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
94 |
-
gr.Slider(minimum=0.1, maximum
|
95 |
gr.Radio(["PDF", "DOCX", "TXT"], label="Save As"),
|
96 |
],
|
97 |
button_fn=save_conversation,
|
|
|
91 |
gr.Textbox(value="", label="System message"),
|
92 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
93 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
94 |
+
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P"),
|
95 |
gr.Radio(["PDF", "DOCX", "TXT"], label="Save As"),
|
96 |
],
|
97 |
button_fn=save_conversation,
|