PereLluis13 commited on
Commit
5bffab4
1 Parent(s): 5fdb117

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ if agree:
81
  else:
82
  dataset_example = st.slider('dataset id', 0, 1000, 0)
83
  text = dataset[dataset_example]['text']
84
- length_penalty = st.slider('length_penalty', 0, 10, 0)
85
  num_beams = st.slider('num_beams', 1, 20, 3)
86
  num_return_sequences = st.slider('num_return_sequences', 1, num_beams, 2)
87
 
 
81
  else:
82
  dataset_example = st.slider('dataset id', 0, 1000, 0)
83
  text = dataset[dataset_example]['text']
84
+ length_penalty = st.slider('length_penalty', 0, 10, 1)
85
  num_beams = st.slider('num_beams', 1, 20, 3)
86
  num_return_sequences = st.slider('num_return_sequences', 1, num_beams, 2)
87