Update app.py
Browse files
app.py
CHANGED
@@ -179,8 +179,8 @@ model_type = st.sidebar.selectbox(
|
|
179 |
"Model type", options=["Facebook-Bart", "Sshleifer-DistilBart"]
|
180 |
)
|
181 |
|
182 |
-
max_len= st.sidebar.slider("Maximum length of the summarized text",min_value=50,max_value=500)
|
183 |
-
min_len= st.sidebar.slider("Minimum length of the summarized text",min_value=10)
|
184 |
|
185 |
st.markdown(
|
186 |
"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)"
|
|
|
179 |
"Model type", options=["Facebook-Bart", "Sshleifer-DistilBart"]
|
180 |
)
|
181 |
|
182 |
+
max_len= st.sidebar.slider("Maximum length of the summarized text",min_value=50,max_value=500,step=10)
|
183 |
+
min_len= st.sidebar.slider("Minimum length of the summarized text",min_value=10,step=10)
|
184 |
|
185 |
st.markdown(
|
186 |
"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)"
|