From 0ec2801c72c32d0bc680dd869ab5dbf6fc6e529f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuana=20=C3=87elik?= Date: Thu, 14 Dec 2023 11:35:33 +0100 Subject: [PATCH] Fixing incorrect docstring (#6536) --- haystack/components/generators/hugging_face_tgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/components/generators/hugging_face_tgi.py b/haystack/components/generators/hugging_face_tgi.py index 9f2359814..e7d9128d8 100644 --- a/haystack/components/generators/hugging_face_tgi.py +++ b/haystack/components/generators/hugging_face_tgi.py @@ -44,7 +44,7 @@ class HuggingFaceTGIGenerator: url="", 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) ```