drewvid commited on
Commit
16e1a94
·
1 Parent(s): 8ec450d

max_tokens

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
84
  demo = gr.ChatInterface(
85
  respond,
86
  additional_inputs=[
87
- gr.Slider(minimum=1, maximum=8192, value=6144, step=1, label="Max new tokens"),
88
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
89
  gr.Slider(
90
  minimum=0.1,
 
84
  demo = gr.ChatInterface(
85
  respond,
86
  additional_inputs=[
87
+ gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
88
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
89
  gr.Slider(
90
  minimum=0.1,