Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -44,7 +44,7 @@ with tab_your_paper:
|
|
44 |
for pdf in pdf_files:
|
45 |
# Saving the files
|
46 |
pdf_data = pdf.getvalue()
|
47 |
-
pdf_path = os.path.join(
|
48 |
with open(pdf_path, "wb") as f:
|
49 |
f.write(pdf_data)
|
50 |
recently_added.append(pdf_path)
|
|
|
44 |
for pdf in pdf_files:
|
45 |
# Saving the files
|
46 |
pdf_data = pdf.getvalue()
|
47 |
+
pdf_path = os.path.join(pdf.name)
|
48 |
with open(pdf_path, "wb") as f:
|
49 |
f.write(pdf_data)
|
50 |
recently_added.append(pdf_path)
|