l1006986533 commited on
Commit
69f64d5
1 Parent(s): 4178639

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,7 +152,7 @@ with gr.Blocks(title=title) as demo:
152
  token_count = gr.Slider(10, 333, label="Max Tokens", step=10, value=333)
153
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
154
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
155
- presence_penalty = gr.Slider(0.0, 1.0, label="Presence Penalty", step=0.1, value=0)
156
  count_penalty = gr.Slider(0.0, 1.0, label="Count Penalty", step=0.1, value=1)
157
  with gr.Column():
158
  with gr.Row():
 
152
  token_count = gr.Slider(10, 333, label="Max Tokens", step=10, value=333)
153
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
154
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
155
+ presence_penalty = gr.Slider(0.0, 1.0, label="Presence Penalty", step=0.1, value=1)
156
  count_penalty = gr.Slider(0.0, 1.0, label="Count Penalty", step=0.1, value=1)
157
  with gr.Column():
158
  with gr.Row():