From 621f1e40375cded15bce85cdf495a3b8a20a0975 Mon Sep 17 00:00:00 2001 From: Shaik Raza Sikander Date: Sun, 23 Jun 2024 07:14:50 +0300 Subject: [PATCH] format code as per ci --- tests/unit/inference/test_inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/inference/test_inference.py b/tests/unit/inference/test_inference.py index d5d3bf34aa51..b6273368c565 100644 --- a/tests/unit/inference/test_inference.py +++ b/tests/unit/inference/test_inference.py @@ -99,7 +99,7 @@ def _hf_model_list() -> List[ModelInfo]: # Update the cache if it has expired if ((model_data["cache_time"] + cache_expiration_seconds) < current_time) or os.getenv("FORCE_UPDATE_HF_CACHE", - default=False) : + default=False): api = HfApi() model_data["model_list"] = [ ModelInfo(modelId=m.modelId, pipeline_tag=m.pipeline_tag, tags=m.tags) for m in api.list_models()