Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -197,7 +197,7 @@ def remove_file():
|
|
197 |
flash("No file selected for removal.", "error")
|
198 |
except Exception as e:
|
199 |
flash(f"Error while removing file: {str(e)}", "error")
|
200 |
-
return redirect(url_for('
|
201 |
|
202 |
# Route to serve uploaded files
|
203 |
'''
|
|
|
197 |
flash("No file selected for removal.", "error")
|
198 |
except Exception as e:
|
199 |
flash(f"Error while removing file: {str(e)}", "error")
|
200 |
+
return redirect(url_for('upload_file'))
|
201 |
|
202 |
# Route to serve uploaded files
|
203 |
'''
|