diff --git a/src/cluster/video_apps/hls_slice_inference.py b/src/cluster/video_apps/hls_slice_inference.py index ad304d7..6adbbaa 100644 --- a/src/cluster/video_apps/hls_slice_inference.py +++ b/src/cluster/video_apps/hls_slice_inference.py @@ -386,7 +386,7 @@ with downloader_image.imports(): logger.info("6、发起Gemini推理") target_json = None while target_json is None and retry_time > 0: - target_json = inference_api() + target_json = await inference_api() retry_time -= 1 if target_json is None: raise Exception("推理失败")