kabbi commited on
Commit
5d82ad0
·
verified ·
1 Parent(s): 19361f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
109
  minimum=0,
110
  maximum=1,
111
  step=0.1,
112
- value=0.3,
113
  label="Temperature",
114
  render=False,
115
  ),
@@ -131,9 +131,9 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
131
  ),
132
  gr.Slider(
133
  minimum=1,
134
- maximum=20,
135
  step=1,
136
- value=20,
137
  label="top_k",
138
  render=False,
139
  ),
@@ -141,7 +141,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
141
  minimum=0.0,
142
  maximum=2.0,
143
  step=0.1,
144
- value=1.2,
145
  label="Repetition penalty",
146
  render=False,
147
  ),
 
109
  minimum=0,
110
  maximum=1,
111
  step=0.1,
112
+ value=1,
113
  label="Temperature",
114
  render=False,
115
  ),
 
131
  ),
132
  gr.Slider(
133
  minimum=1,
134
+ maximum=50,
135
  step=1,
136
+ value=50,
137
  label="top_k",
138
  render=False,
139
  ),
 
141
  minimum=0.0,
142
  maximum=2.0,
143
  step=0.1,
144
+ value=1.0,
145
  label="Repetition penalty",
146
  render=False,
147
  ),