saidsef commited on
Commit
816e65f
·
verified ·
1 Parent(s): bd6e14e

feat: add download button

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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")