Skip to content

Commit 4b2d83b

Browse files
committed
fix style
1 parent 0668acb commit 4b2d83b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/huggingface_inference_toolkit/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,4 @@ def convert_params_to_int_or_bool(params):
291291
params[k] = False
292292
if v == 'true':
293293
params[k] = True
294-
return params
294+
return params

src/huggingface_inference_toolkit/webservice_starlette.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async def predict(request):
7676
if request.query_params and "parameters" not in deserialized_body:
7777
deserialized_body["parameters"] = convert_params_to_int_or_bool(dict(request.query_params))
7878
print(deserialized_body)
79-
79+
8080
# tracks request time
8181
start_time = perf_counter()
8282
# run async not blocking call

0 commit comments

Comments
 (0)