Spaces:
Running
Running
ui error correced
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ st.write("This app uses a trained FastText model to summarize your input text.")
|
|
6 |
|
7 |
# Text input area
|
8 |
input_text = st.text_area("Input Text", placeholder="Paste your Amharic text here...")
|
9 |
-
|
10 |
# Summarize button
|
11 |
if st.button("Summarize"):
|
12 |
if input_text.strip():
|
|
|
6 |
|
7 |
# Text input area
|
8 |
input_text = st.text_area("Input Text", placeholder="Paste your Amharic text here...")
|
9 |
+
summarized_text=""
|
10 |
# Summarize button
|
11 |
if st.button("Summarize"):
|
12 |
if input_text.strip():
|