project-baize commited on
Commit
85f3d2d
1 Parent(s): 7948267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -124,14 +124,14 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
124
  gr.Markdown("# Parameters")
125
  top_p = gr.Slider(
126
  minimum=-0,
127
- maximum=0.95,
128
  value=0.95,
129
  step=0.05,
130
  interactive=True,
131
  label="Top-p",
132
  )
133
  temperature = gr.Slider(
134
- minimum=-0,
135
  maximum=2.0,
136
  value=1,
137
  step=0.1,
 
124
  gr.Markdown("# Parameters")
125
  top_p = gr.Slider(
126
  minimum=-0,
127
+ maximum=1.0,
128
  value=0.95,
129
  step=0.05,
130
  interactive=True,
131
  label="Top-p",
132
  )
133
  temperature = gr.Slider(
134
+ minimum=0.1,
135
  maximum=2.0,
136
  value=1,
137
  step=0.1,