Plat commited on
Commit
65344f7
·
1 Parent(s): b606f30

chore: better default advanced settings

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -153,7 +153,7 @@ def demo():
153
  label="Temperature",
154
  minimum=0.1,
155
  maximum=1.0,
156
- value=0.1,
157
  step=0.1,
158
  )
159
  top_k = gr.Slider(
@@ -161,11 +161,11 @@ def demo():
161
  minimum=1,
162
  maximum=100,
163
  value=10,
164
- step=1,
165
  )
166
  top_p = gr.Slider(
167
  label="Top p",
168
- minimum=0.1,
169
  maximum=1.0,
170
  value=0.1,
171
  step=0.1,
 
153
  label="Temperature",
154
  minimum=0.1,
155
  maximum=1.0,
156
+ value=0.3,
157
  step=0.1,
158
  )
159
  top_k = gr.Slider(
 
161
  minimum=1,
162
  maximum=100,
163
  value=10,
164
+ step=10,
165
  )
166
  top_p = gr.Slider(
167
  label="Top p",
168
+ minimum=0.5,
169
  maximum=1.0,
170
  value=0.1,
171
  step=0.1,