ErnestBeckham
commited on
Commit
•
eb845bc
1
Parent(s):
2602252
updated
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def main():
|
|
18 |
|
19 |
# Display the summarized output
|
20 |
st.subheader("Summary:")
|
21 |
-
st.write(pipe(
|
22 |
else:
|
23 |
st.warning("Please enter text before summarizing.")
|
24 |
|
|
|
18 |
|
19 |
# Display the summarized output
|
20 |
st.subheader("Summary:")
|
21 |
+
st.write(pipe(user_input, **gen_kwargs)[0]["summary_text"])
|
22 |
else:
|
23 |
st.warning("Please enter text before summarizing.")
|
24 |
|