Spaces:
Running
on
Zero
Running
on
Zero
v1
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def bot_streaming(message, history, temperature, new_max_token, top_p):
|
|
105 |
yield buffer
|
106 |
|
107 |
demo = gr.ChatInterface(fn=bot_streaming,
|
108 |
-
additional_inputs = [gr.Slider(0, 1, 0.9, label="temperature"), gr.Slider(1,
|
109 |
additional_inputs_accordion="Generation Hyperparameters",
|
110 |
theme=gr.themes.Soft(),
|
111 |
title="☄️Meteor",
|
|
|
105 |
yield buffer
|
106 |
|
107 |
demo = gr.ChatInterface(fn=bot_streaming,
|
108 |
+
additional_inputs = [gr.Slider(0, 1, 0.9, label="temperature"), gr.Slider(1, 1024, 128, label="new_max_token"), gr.Slider(0, 1, 0.95, label="top_p")],
|
109 |
additional_inputs_accordion="Generation Hyperparameters",
|
110 |
theme=gr.themes.Soft(),
|
111 |
title="☄️Meteor",
|