Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def detect_combined(image):
|
|
61 |
}
|
62 |
with open(temp_path, "rb") as f:
|
63 |
files = {"image": f}
|
64 |
-
response = requests.post("https://api.landing.ai/v1/tools/text-to-object-detection", files=files, data=data, headers=headers)
|
65 |
result = response.json()
|
66 |
owlv2_objects = result['data'][0] if 'data' in result else []
|
67 |
|
|
|
61 |
}
|
62 |
with open(temp_path, "rb") as f:
|
63 |
files = {"image": f}
|
64 |
+
response = requests.post("https://api.va.landing.ai/v1/tools/text-to-object-detection", files=files, data=data, headers=headers)
|
65 |
result = response.json()
|
66 |
owlv2_objects = result['data'][0] if 'data' in result else []
|
67 |
|