pszemraj commited on
Commit
9f8e539
1 Parent(s): f0828ea

Signed-off-by: peter szemraj <peterszemraj@gmail.com>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -234,7 +234,7 @@ if __name__ == "__main__":
234
  with gr.Row():
235
  contrastive_top_k = gr.Radio(
236
  choices=[2, 4, 6, 8],
237
- label="Number of Beams",
238
  value=top_k,
239
  )
240
 
@@ -248,7 +248,7 @@ if __name__ == "__main__":
248
  length_penalty = gr.Slider(
249
  minimum=0.5,
250
  maximum=1.0,
251
- label="length penalty",
252
  value=1.0,
253
  step=0.1,
254
  )
 
234
  with gr.Row():
235
  contrastive_top_k = gr.Radio(
236
  choices=[2, 4, 6, 8],
237
+ label="Top K",
238
  value=top_k,
239
  )
240
 
 
248
  length_penalty = gr.Slider(
249
  minimum=0.5,
250
  maximum=1.0,
251
+ label="Length Penalty",
252
  value=1.0,
253
  step=0.1,
254
  )