viboognesh commited on
Commit
f46042a
·
verified ·
1 Parent(s): f7a13d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def main():
39
  pdf_file = uploaded_file
40
  temp_pdf_path = os.path.join(st.session_state.tmp_dir, "pdf_file")
41
  with open(temp_pdf_path, "wb") as f:
42
- f.write(pdf_file.getvalue())
43
  st.session_state.temp_pdf_path = temp_pdf_path
44
  uploaded_file = None
45
 
 
39
  pdf_file = uploaded_file
40
  temp_pdf_path = os.path.join(st.session_state.tmp_dir, "pdf_file")
41
  with open(temp_pdf_path, "wb") as f:
42
+ f.write(pdf_file.getvalue())
43
  st.session_state.temp_pdf_path = temp_pdf_path
44
  uploaded_file = None
45