Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def app():
|
|
17 |
if text:
|
18 |
st.success("Summarizing Text, Please wait...")
|
19 |
# If it has then do the following:
|
20 |
-
out=
|
21 |
st.json(out)
|
22 |
|
23 |
|
|
|
17 |
if text:
|
18 |
st.success("Summarizing Text, Please wait...")
|
19 |
# If it has then do the following:
|
20 |
+
out=summarizer(text,min_length=100, max_length=400)
|
21 |
st.json(out)
|
22 |
|
23 |
|