DmitrMakeev commited on
Commit
900d205
·
verified ·
1 Parent(s): 2b7a155

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def upload_file():
37
  return "File uploaded successfully", 200
38
 
39
 
40
- @app.route('/image')
41
  def get_image():
42
  return send_from_directory(UPLOAD_FOLDER, IMAGE_FILENAME)
43
 
 
37
  return "File uploaded successfully", 200
38
 
39
 
40
+ @app.route('/image', methods=['GET'])
41
  def get_image():
42
  return send_from_directory(UPLOAD_FOLDER, IMAGE_FILENAME)
43