muhammadsalmanalfaridzi commited on
Commit
ca5ef01
·
verified ·
1 Parent(s): 8992b2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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