Spaces:
Running
Running
Update app.py
Browse files
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('
|
| 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)
|