Skip to content

Commit

Permalink
update status check
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Oct 31, 2023
1 parent f5f06ec commit 7e1a93d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions roboflow/models/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,7 @@ def poll_for_video_results(self, job_id: str = None) -> dict:

data = response.json()

# for model in infer_models:
# if model["infer_success"] == 1:
if data.get("output_signed_url") is None:
if data.get("status") != 0:
return {}

output_signed_url = data["output_signed_url"]
Expand Down

0 comments on commit 7e1a93d

Please sign in to comment.