Spaces:
Sleeping
Sleeping
Update flask_app.py
Browse files- 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
|
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 |
}
|