Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def upload_file():
|
|
94 |
else:
|
95 |
print("Folder not got it......................")
|
96 |
file_path = os.path.join(app.config['UPLOAD_FOLDER'], filename)
|
97 |
-
|
98 |
file.save(file_path)
|
99 |
flash('File uploaded successfully', 'success')
|
100 |
except Exception as e:
|
|
|
94 |
else:
|
95 |
print("Folder not got it......................")
|
96 |
file_path = os.path.join(app.config['UPLOAD_FOLDER'], filename)
|
97 |
+
try:
|
98 |
file.save(file_path)
|
99 |
flash('File uploaded successfully', 'success')
|
100 |
except Exception as e:
|