Spaces:
Runtime error
Runtime error
M.Araby
commited on
Commit
·
a6b596f
1
Parent(s):
bd6bcbd
Add application file8
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model = AutoModelForCausalLM.from_pretrained(model_name)
|
|
10 |
preprocessor = ArabertPreprocessor(model_name=model_name)
|
11 |
|
12 |
# Streamlit UI
|
13 |
-
st.title('Arabic Text Summarizer')
|
14 |
text = st.text_area("Paste your Arabic text here:")
|
15 |
|
16 |
if st.button('Summarize'):
|
|
|
10 |
preprocessor = ArabertPreprocessor(model_name=model_name)
|
11 |
|
12 |
# Streamlit UI
|
13 |
+
st.title('Arabic Text Summarizer | By M.Araby')
|
14 |
text = st.text_area("Paste your Arabic text here:")
|
15 |
|
16 |
if st.button('Summarize'):
|