sammyview80 commited on
Commit
2c011da
1 Parent(s): e56878c

Update flask_app.py

Browse files
Files changed (1) hide show
  1. flask_app.py +1 -1
flask_app.py CHANGED
@@ -40,7 +40,7 @@ def upload_file(transparent):
40
  print('yes')
41
  image_bytes = base64.b64decode(img_base64)
42
  rm_image_path = example_inference(image_bytes, transparent)
43
- return 'data:image/png;base64,' + rm_image_path
44
  return {
45
  "message": "Get Request not allowed"
46
  }
 
40
  print('yes')
41
  image_bytes = base64.b64decode(img_base64)
42
  rm_image_path = example_inference(image_bytes, transparent)
43
+ return rm_image_path
44
  return {
45
  "message": "Get Request not allowed"
46
  }