Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -95,6 +95,7 @@ def upload_file():
|
|
95 |
print("Current user:", os.getuid())
|
96 |
print("Upload folder permissions:", os.stat(app.config['UPLOAD_FOLDER']).st_mode)
|
97 |
print("Trying to save file:", file_path)
|
|
|
98 |
file.save(file_path)
|
99 |
print("file save in folder")
|
100 |
|
|
|
95 |
print("Current user:", os.getuid())
|
96 |
print("Upload folder permissions:", os.stat(app.config['UPLOAD_FOLDER']).st_mode)
|
97 |
print("Trying to save file:", file_path)
|
98 |
+
session['uploaded_PDF'] = file_path
|
99 |
file.save(file_path)
|
100 |
print("file save in folder")
|
101 |
|