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():
304
304
failure_thread .start ()
305
305
306
306
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 ()):
309
309
time .sleep (1 )
310
310
311
311
if output_file_found .is_set ():
@@ -319,10 +319,10 @@ def check_failure_file():
319
319
raise AsyncInferenceModelError (message = failure_response )
320
320
321
321
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
+ )
326
326
327
327
def update_endpoint (
328
328
self ,
You can’t perform that action at this time.
0 commit comments