Skip to content

Commit

Permalink
format code as per ci
Browse files Browse the repository at this point in the history
  • Loading branch information
raza-sikander committed Jun 23, 2024
1 parent 188257c commit 621f1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/inference/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 621f1e4

Please # to comment.