vilarin commited on
Commit
c3e970b
1 Parent(s): 3269b1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -17
app.py CHANGED
@@ -134,23 +134,22 @@ with gr.Blocks(css=CSS) as demo:
134
  label="Max Length",
135
  render=False,
136
  ),
137
- with gr.Row():
138
- gr.Slider(
139
- minimum=0.0,
140
- maximum=1.0,
141
- step=0.1,
142
- value=1.0,
143
- label="top_p",
144
- render=False,
145
- ),
146
- gr.Slider(
147
- minimum=1,
148
- maximum=20,
149
- step=1,
150
- value=10,
151
- label="top_k",
152
- render=False,
153
- ),
154
  gr.Slider(
155
  minimum=0.0,
156
  maximum=2.0,
 
134
  label="Max Length",
135
  render=False,
136
  ),
137
+ gr.Slider(
138
+ minimum=0.0,
139
+ maximum=1.0,
140
+ step=0.1,
141
+ value=1.0,
142
+ label="top_p",
143
+ render=False,
144
+ ),
145
+ gr.Slider(
146
+ minimum=1,
147
+ maximum=20,
148
+ step=1,
149
+ value=10,
150
+ label="top_k",
151
+ render=False,
152
+ ),
 
153
  gr.Slider(
154
  minimum=0.0,
155
  maximum=2.0,