Update app.py
Browse files
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=
|
175 |
-
min_len= st.sidebar.slider("Minimum length of the summarized text",min_value=
|
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)"
|