From f5d57b97887c2b10b24d9bfb52f238d8ccb3fb44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wang=20Ran=20=28=E6=B1=AA=E7=84=B6=29?= Date: Sat, 27 Jul 2024 16:24:09 +0800 Subject: [PATCH] to meet linter --- examples/api_client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/api_client.py b/examples/api_client.py index ca8253e3eb249..49a085febdc57 100644 --- a/examples/api_client.py +++ b/examples/api_client.py @@ -31,7 +31,10 @@ def post_http_request(prompt: str, "max_tokens": 16, "stream": stream, } - response = requests.post(api_url, headers=headers, json=pload, stream=stream) + response = requests.post(api_url, + headers=headers, + json=pload, + stream=stream) return response