saidsef commited on
Commit
713593f
·
verified ·
1 Parent(s): a0694a6

fix: download var type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,4 +11,4 @@ if text:
11
  st.write(f"{type(out)}, length: {len(out)}")
12
 
13
  if len(out) >= 1:
14
- st.download_button("summary download", ",".join(out), file_name="summersation.txt", mime="text/plain")
 
11
  st.write(f"{type(out)}, length: {len(out)}")
12
 
13
  if len(out) >= 1:
14
+ st.download_button("summary download", out[0]['summary_text'], file_name="summersation.txt", mime="text/plain")