Skip to content

Commit

Permalink
add ending commas for style
Browse files Browse the repository at this point in the history
  • Loading branch information
hommayushi3 committed Aug 19, 2024
1 parent 9822e28 commit 6629926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/huggingface_hub/hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -7510,7 +7510,7 @@ def create_inference_endpoint(
"scaling": {
"maxReplica": max_replica,
"minReplica": min_replica,
"scaleToZeroTimeout": scale_to_zero_timeout
"scaleToZeroTimeout": scale_to_zero_timeout,
},
},
"model": {
Expand Down Expand Up @@ -7663,7 +7663,7 @@ def update_inference_endpoint(
"scaling": {
"maxReplica": max_replica,
"minReplica": min_replica,
"scaleToZeroTimeout": scale_to_zero_timeout
"scaleToZeroTimeout": scale_to_zero_timeout,
},
}
if any(value is not None for value in (repository, framework, revision, task, custom_image)):
Expand Down

0 comments on commit 6629926

Please # to comment.