Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -667,6 +667,12 @@ def get_last_image():
|
|
| 667 |
return send_file(latest_image["data"], mimetype='image/jpeg', download_name=latest_image["filename"])
|
| 668 |
|
| 669 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 670 |
|
| 671 |
|
| 672 |
|
|
|
|
| 667 |
return send_file(latest_image["data"], mimetype='image/jpeg', download_name=latest_image["filename"])
|
| 668 |
|
| 669 |
|
| 670 |
+
@app.route('/view_image', methods=['GET'])
|
| 671 |
+
def view_image():
|
| 672 |
+
return render_template('show_image.html')
|
| 673 |
+
|
| 674 |
+
|
| 675 |
+
|
| 676 |
|
| 677 |
|
| 678 |
|