BK-Lee commited on
Commit
411af63
1 Parent(s): 25027a4
Files changed (1) hide show
  1. app.py +1 -1
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, 2048, 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",
 
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",