pszemraj commited on
Commit
1d116fb
1 Parent(s): 0407083

expand param range

Browse files

Signed-off-by: peter szemraj <[email protected]>

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -596,8 +596,8 @@ if __name__ == "__main__":
596
  )
597
  with gr.Row(variant="compact"):
598
  length_penalty = gr.Slider(
599
- minimum=0.5,
600
- maximum=1.0,
601
  label="length penalty",
602
  value=0.7,
603
  step=0.05,
@@ -618,7 +618,7 @@ if __name__ == "__main__":
618
  step=0.1,
619
  )
620
  no_repeat_ngram_size = gr.Radio(
621
- choices=[2, 3, 4],
622
  label="no repeat ngram size",
623
  value=3,
624
  )
 
596
  )
597
  with gr.Row(variant="compact"):
598
  length_penalty = gr.Slider(
599
+ minimum=0.3,
600
+ maximum=1.1,
601
  label="length penalty",
602
  value=0.7,
603
  step=0.05,
 
618
  step=0.1,
619
  )
620
  no_repeat_ngram_size = gr.Radio(
621
+ choices=[2, 3, 4, 5],
622
  label="no repeat ngram size",
623
  value=3,
624
  )