Spaces:
Runtime error
Runtime error
abdalrahmanshahrour
commited on
Commit
•
c879c57
1
Parent(s):
4f4f3ec
pyshbak
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ summarize_button = st.button(label="لخص النص")
|
|
71 |
|
72 |
if summarize_button:
|
73 |
with st.spinner("جاري التلخيص ..."):
|
74 |
-
result = get_results(doc, model, num_beams, length_penalty
|
75 |
if len(result) > 0:
|
76 |
st.write(result)
|
77 |
else:
|
|
|
71 |
|
72 |
if summarize_button:
|
73 |
with st.spinner("جاري التلخيص ..."):
|
74 |
+
result = get_results(doc, model, num_beams, length_penalty)
|
75 |
if len(result) > 0:
|
76 |
st.write(result)
|
77 |
else:
|