nickmuchi commited on
Commit
5316502
·
1 Parent(s): 228b872

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -171,8 +171,8 @@ model_type = st.sidebar.selectbox(
171
  "Model type", options=["Facebook-Bart", "Sshleifer-DistilBart"]
172
  )
173
 
174
- max_len= st.sidebar.slider("Maximum length of the summarized text",min_value=100,max_value=500)
175
- min_len= st.sidebar.slider("Minimum length of the summarized text",min_value=30)
176
 
177
  st.markdown(
178
  "Model Source: [Facebook-Bart-large-CNN](https://huggingface.co/facebook/bart-large-cnn) and [Sshleifer-distilbart-cnn-12-6](https://huggingface.co/sshleifer/distilbart-cnn-12-6)"
 
171
  "Model type", options=["Facebook-Bart", "Sshleifer-DistilBart"]
172
  )
173
 
174
+ max_len= st.sidebar.slider("Maximum length of the summarized text",min_value=30,max_value=500)
175
+ min_len= st.sidebar.slider("Minimum length of the summarized text",min_value=10)
176
 
177
  st.markdown(
178
  "Model Source: [Facebook-Bart-large-CNN](https://huggingface.co/facebook/bart-large-cnn) and [Sshleifer-distilbart-cnn-12-6](https://huggingface.co/sshleifer/distilbart-cnn-12-6)"