File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/huggingface_hub/inference Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,7 @@ class InferenceClient:
141141 Note: for better compatibility with OpenAI's client, `token` has been aliased as `api_key`. Those 2
142142 arguments are mutually exclusive and have the exact same behavior.
143143 timeout (`float`, `optional`):
144- The maximum number of seconds to wait for a response from the server. Loading a new model in Inference
145- API can take up to several minutes. Defaults to None, meaning it will loop until the server is available.
144+ The maximum number of seconds to wait for a response from the server. Defaults to None, meaning it will loop until the server is available.
146145 headers (`Dict[str, str]`, `optional`):
147146 Additional headers to send to the server. By default only the authorization and user-agent headers are sent.
148147 Values in this dictionary will override the default values.
Original file line number Diff line number Diff line change @@ -129,8 +129,7 @@ class AsyncInferenceClient:
129129 Note: for better compatibility with OpenAI's client, `token` has been aliased as `api_key`. Those 2
130130 arguments are mutually exclusive and have the exact same behavior.
131131 timeout (`float`, `optional`):
132- The maximum number of seconds to wait for a response from the server. Loading a new model in Inference
133- API can take up to several minutes. Defaults to None, meaning it will loop until the server is available.
132+ The maximum number of seconds to wait for a response from the server. Defaults to None, meaning it will loop until the server is available.
134133 headers (`Dict[str, str]`, `optional`):
135134 Additional headers to send to the server. By default only the authorization and user-agent headers are sent.
136135 Values in this dictionary will override the default values.
You can’t perform that action at this time.
0 commit comments