osamaifti commited on
Commit
3e4904b
·
verified ·
1 Parent(s): f284af1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def upload_and_detect():
102
  # Send back the path to the processed image
103
  return jsonify({'image_url': url_for('static', filename='detected.jpg')})
104
 
105
- return render_template('upload.html')
106
 
107
  if __name__ == '__main__':
108
  app.run(host='0.0.0.0', port=8000)
 
102
  # Send back the path to the processed image
103
  return jsonify({'image_url': url_for('static', filename='detected.jpg')})
104
 
105
+ return render_template('index.html')
106
 
107
  if __name__ == '__main__':
108
  app.run(host='0.0.0.0', port=8000)