peter szemraj commited on
Commit
96f4bcd
1 Parent(s): cd45d79

:art: organize

Browse files
Files changed (1) hide show
  1. app.py +14 -8
app.py CHANGED
@@ -168,14 +168,20 @@ if __name__ == "__main__":
168
  label="Number of Beams",
169
  value=4,
170
  )
171
- no_repeat_ngram_size = gr.Radio(
172
- choices=[1, 2, 3, 4],
173
- label="no repeat ngram size",
174
- value=2,
175
- )
176
- length_penalty = gr.Slider(
177
- minimum=0.5, maximum=1.0, label="length penalty", value=0.8, step=0.1
178
- )
 
 
 
 
 
 
179
  gr.Markdown("---")
180
 
181
  with gr.Column():
 
168
  label="Number of Beams",
169
  value=4,
170
  )
171
+ with gr.Row():
172
+
173
+ no_repeat_ngram_size = gr.Radio(
174
+ choices=[1, 2, 3, 4],
175
+ label="no repeat ngram size",
176
+ value=2,
177
+ )
178
+ length_penalty = gr.Slider(
179
+ minimum=0.5,
180
+ maximum=1.0,
181
+ label="length penalty",
182
+ value=0.8,
183
+ step=0.1,
184
+ )
185
  gr.Markdown("---")
186
 
187
  with gr.Column():