Fixing incorrect docstring (#6536)

This commit is contained in:
Tuana Çelik 2023-12-14 11:35:33 +01:00 committed by GitHub
parent d0c115fc9d
commit 0ec2801c72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ class HuggingFaceTGIGenerator:
url="<your-tgi-endpoint-url>",
token="<your-token>")
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)
```