Di Zhang commited on
Commit
f809761
·
verified ·
1 Parent(s): 3411728

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks() as demo:
73
  )
74
 
75
  with gr.Accordion("Adjust Parameters", open=False):
76
- gr.Slider(minimum=1024, maximum=8192, value=2048, step=1, label="Max Tokens")
77
  gr.Slider(minimum=0.1, maximum=1.5, value=0.7, step=0.1, label="Temperature")
78
  gr.Slider(minimum=0.05, maximum=1.0, value=0.95, step=0.01, label="Top-p (nucleus sampling)")
79
 
 
73
  )
74
 
75
  with gr.Accordion("Adjust Parameters", open=False):
76
+ gr.Slider(minimum=128, maximum=8192, value=512, step=1, label="Max Tokens")
77
  gr.Slider(minimum=0.1, maximum=1.5, value=0.7, step=0.1, label="Temperature")
78
  gr.Slider(minimum=0.05, maximum=1.0, value=0.95, step=0.01, label="Top-p (nucleus sampling)")
79