Skip to content

Commit 15e4239

Browse files
Merge pull request #13 from huggingface/feature/add-support-for-zero-gpu
Feature/add-support-for-zero-gpu
2 parents ec2673c + 77e00bd commit 15e4239

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def create_inference_client(
4949
model: Optional[str] = None, base_url: Optional[str] = None
5050
) -> InferenceClient:
5151
"""Create an InferenceClient instance with the given model or environment settings.
52+
This function will run the model locally if ZERO_GPU is set to True.
5253
5354
Args:
5455
model: Optional model identifier to use. If not provided, will use environment settings.

0 commit comments

Comments
 (0)