red1xe commited on
Commit
7a89821
1 Parent(s): f4781ea
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -9,6 +9,7 @@ files = st.file_uploader("Upload your files", accept_multiple_files=True, type="
9
 
10
  if files:
11
  st.header("PDFs to Text")
12
- for file in files:
13
- text = extract_text(file)
14
- st.write(text)
 
 
9
 
10
  if files:
11
  st.header("PDFs to Text")
12
+ if st.button("Convert"):
13
+ for file in files:
14
+ text = extract_text(file)
15
+ st.write(text)