m3hrdadfi commited on
Commit
655929a
1 Parent(s): a958bfa

Fix configurations

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -84,15 +84,15 @@ def main():
84
  label='Repetition Penalty',
85
  help="The parameter for repetition penalty",
86
  min_value=1.0,
87
- max_value=10.0,
88
  value=1.0,
89
  step=0.1
90
  )
91
  length_penalty = st.sidebar.slider(
92
  label='Length Penalty',
93
  help="Exponential penalty to the length",
94
- min_value=1.0,
95
- max_value=10.0,
96
  value=1.0,
97
  step=0.1
98
  )
84
  label='Repetition Penalty',
85
  help="The parameter for repetition penalty",
86
  min_value=1.0,
87
+ max_value=3.0,
88
  value=1.0,
89
  step=0.1
90
  )
91
  length_penalty = st.sidebar.slider(
92
  label='Length Penalty',
93
  help="Exponential penalty to the length",
94
+ min_value=0.0,
95
+ max_value=2.0,
96
  value=1.0,
97
  step=0.1
98
  )