Spaces:
Configuration error
Configuration error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -1
src/streamlit_app.py
CHANGED
|
@@ -13,7 +13,6 @@ st.title("Text Summarizer(Encoder-Decoder)")
|
|
| 13 |
|
| 14 |
input_text = st.text_area("Enter text to summarize:", height=200)
|
| 15 |
|
| 16 |
-
max_new_tokens = st.slider("Max summary length (tokens)", min_value=20, max_value=200, value=100)
|
| 17 |
|
| 18 |
if st.button("Generate Summary"):
|
| 19 |
if input_text.strip() == "":
|
|
|
|
| 13 |
|
| 14 |
input_text = st.text_area("Enter text to summarize:", height=200)
|
| 15 |
|
|
|
|
| 16 |
|
| 17 |
if st.button("Generate Summary"):
|
| 18 |
if input_text.strip() == "":
|