Spaces:
Sleeping
Sleeping
feat: add download button
Browse files
app.py
CHANGED
@@ -7,4 +7,6 @@ text = st.text_area("Summarise the following")
|
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text, do_sample=False)
|
10 |
-
st.write(out)
|
|
|
|
|
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text, do_sample=False)
|
10 |
+
st.write(out)
|
11 |
+
|
12 |
+
st.download_button("summary download", out[0], file_name="summersation.txt", mime="text/plain")
|