bleysg commited on
Commit
a886632
1 Parent(s): 10eabc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ with gr.Blocks(css=CSS) as demo:
99
  max_tokens = gr.Slider(20, 4000, label="Max Tokens", step=20, value=2000)
100
  temperature = gr.Slider(0.0, 2.0, label="Temperature", step=0.1, value=0.8)
101
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.02, value=0.95)
102
- top_k = gr.Slider(0, 100, label="Top K", step=1, value=40)
103
  repetition_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.05, value=1.1)
104
 
105
  system_msg = gr.Textbox(
 
99
  max_tokens = gr.Slider(20, 4000, label="Max Tokens", step=20, value=2000)
100
  temperature = gr.Slider(0.0, 2.0, label="Temperature", step=0.1, value=0.8)
101
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.02, value=0.95)
102
+ top_k = gr.Slider(-1, 100, label="Top K", step=1, value=40)
103
  repetition_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.05, value=1.1)
104
 
105
  system_msg = gr.Textbox(