cros
This commit is contained in:
parent
2aca3657ad
commit
1b4cec53f5
@ -51,6 +51,7 @@ def index():
|
||||
np.save("array.npy", image_embedding)
|
||||
response = Response(byte_io, mimetype="application/octet-stream")
|
||||
response.headers["Content-Length"] = 4194432
|
||||
response.headers["Access-Control-Allow-Origin"] = "*"
|
||||
return response
|
||||
else:
|
||||
return 'Content-Type not supported!'
|
||||
|
Loading…
x
Reference in New Issue
Block a user