Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|