WebashalarForML commited on
Commit
c50fd8e
·
verified ·
1 Parent(s): 5799e4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('index'))
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
  '''