yhavinga commited on
Commit
4a76d43
β€’
1 Parent(s): f5a218d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def main():
125
  "Length penalty", min_value=0.0, max_value=2.0, value=1.2, step=0.1
126
  )
127
  diversity_penalty = st.sidebar.number_input(
128
- "Diversity penalty", min_value=0.0, max_value=2.0, value=0.0, step=0.1
129
  )
130
  st.sidebar.markdown(
131
  """For an explanation of the parameters, head over to the [Huggingface blog post about text generation](https://huggingface.co/blog/how-to-generate)
 
125
  "Length penalty", min_value=0.0, max_value=2.0, value=1.2, step=0.1
126
  )
127
  diversity_penalty = st.sidebar.number_input(
128
+ "Diversity penalty", min_value=0.0, max_value=2.0, value=0.1, step=0.1
129
  )
130
  st.sidebar.markdown(
131
  """For an explanation of the parameters, head over to the [Huggingface blog post about text generation](https://huggingface.co/blog/how-to-generate)