File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -304,8 +304,8 @@ def check_failure_file():
304304 failure_thread .start ()
305305
306306 while (not output_file_found .is_set () and
307- not failure_file_found .is_set ()
308- and not waiter_error_catched .is_set ()):
307+ not failure_file_found .is_set () and
308+ not waiter_error_catched .is_set ()):
309309 time .sleep (1 )
310310
311311 if output_file_found .is_set ():
@@ -319,10 +319,10 @@ def check_failure_file():
319319 raise AsyncInferenceModelError (message = failure_response )
320320
321321 raise PollingTimeoutError (
322- message = "Inference could still be running" ,
323- output_path = output_path ,
324- seconds = waiter_config .delay * waiter_config .max_attempts ,
325- )
322+ message = "Inference could still be running" ,
323+ output_path = output_path ,
324+ seconds = waiter_config .delay * waiter_config .max_attempts ,
325+ )
326326
327327 def update_endpoint (
328328 self ,
You can’t perform that action at this time.
0 commit comments