fehmikaya commited on
Commit
b2a1a43
·
verified ·
1 Parent(s): 4e87b58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ with st.sidebar:
60
  with st.spinner("Processing..."):
61
  st.session_state["console_out"] = ""
62
  remove_old_files()
63
- for file in enumerate(uploaded_files):
64
  # filepath = os.path.join(DATA_DIR, f"saved_pdf_{index}.pdf")
65
  filepath = os.path.join(DATA_DIR, file.name)
66
  with open(filepath, "wb") as f:
 
60
  with st.spinner("Processing..."):
61
  st.session_state["console_out"] = ""
62
  remove_old_files()
63
+ for index, file in enumerate(uploaded_files):
64
  # filepath = os.path.join(DATA_DIR, f"saved_pdf_{index}.pdf")
65
  filepath = os.path.join(DATA_DIR, file.name)
66
  with open(filepath, "wb") as f: