mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-07 05:14:08 +00:00
Fixing incorrect docstring (#6536)
This commit is contained in:
parent
d0c115fc9d
commit
0ec2801c72
@ -44,7 +44,7 @@ class HuggingFaceTGIGenerator:
|
|||||||
url="<your-tgi-endpoint-url>",
|
url="<your-tgi-endpoint-url>",
|
||||||
token="<your-token>")
|
token="<your-token>")
|
||||||
client.warm_up()
|
client.warm_up()
|
||||||
response = client.run("What's Natural Language Processing?", max_new_tokens=120)
|
response = client.run("What's Natural Language Processing?")
|
||||||
print(response)
|
print(response)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user