Update local_launch.md

This commit is contained in:
Merve Noyan 2023-08-01 12:44:25 +03:00 committed by GitHub
parent c86dcbeeb1
commit 2675d934e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,8 @@ or through Python:
pip install text-generation pip install text-generation
``` ```
Then run:
```python ```python
from text_generation import Client from text_generation import Client
@ -92,4 +94,4 @@ print(text)
To see all options to serve your models (in the [code](https://github.com/huggingface/text-generation-inference/blob/main/launcher/src/main.rs)) or in the cli: To see all options to serve your models (in the [code](https://github.com/huggingface/text-generation-inference/blob/main/launcher/src/main.rs)) or in the cli:
``` ```
text-generation-launcher --help text-generation-launcher --help
``` ```