Muhammad Waqas commited on
Commit
2f73600
·
1 Parent(s): a82a77f

Added OmniGen Image to Image

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -293,7 +293,7 @@ def get_image_file(filename):
293
 
294
 
295
  # Route to serve images
296
- @app.route('/static/<path:filename>')
297
  def serve_static(filename):
298
  print(f"Request for static file: {filename}", flush=True)
299
  return send_from_directory('static', filename)
 
293
 
294
 
295
  # Route to serve images
296
+ @app.route('/static/<path:filename>', methods=['GET'])
297
  def serve_static(filename):
298
  print(f"Request for static file: {filename}", flush=True)
299
  return send_from_directory('static', filename)