DmitrMakeev commited on
Commit
228a361
·
verified ·
1 Parent(s): a9e97c5

Update app.py

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