7b2b2e4
ca9dc4f
7b2b2e4
ca9dc4f
7b2b2e4
|
|
import os
import requests
import json
def call_inference(img_bytes):
files = {
'image': ('image.jpg', img_bytes, 'image/jpeg')
}
response = requests.post(
"https://aiwb-sightmodel.web.val.run",
files=files
)
return response.json()
|