File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,12 @@ def predict(
9292
9393 url = urljoin (API_URL , "/video_upload_signed_url/?api_key=" , self .__api_key )
9494
95- # get video frame rate
96-
9795 if fps > 30 :
9896 raise Exception ("FPS must be less than or equal to 30." )
9997
10098 for model in additional_models :
10199 if model not in SUPPORTED_ADDITIONAL_MODELS :
102- raise Exception (f"Model { model } is not supported for video inference." )
100+ raise Exception (f"Model { model } is no t supported for video inference." )
103101
104102 if inference_type not in SUPPORTED_ROBOFLOW_MODELS :
105103 raise Exception (
@@ -181,7 +179,7 @@ def poll_for_results(self, job_id: str = None) -> dict:
181179 except Exception as e :
182180 print (e )
183181 raise Exception ("Error polling for results." )
184-
182+
185183 if not response .ok :
186184 raise Exception ("Error polling for results." )
187185
You can’t perform that action at this time.
0 commit comments