From a404b0fc3b05c27e65abc067cddb7fb65a1892a9 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 8 Nov 2023 11:49:15 -0800 Subject: [PATCH] (fix) remove errant print from hf --- litellm/llms/huggingface_restapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/huggingface_restapi.py b/litellm/llms/huggingface_restapi.py index b6804af906..e04f200555 100644 --- a/litellm/llms/huggingface_restapi.py +++ b/litellm/llms/huggingface_restapi.py @@ -270,7 +270,7 @@ def completion( headers=headers, data=json.dumps(data) ) - print(response.text) + ## Some servers might return streaming responses even though stream was not set to true. (e.g. Baseten) is_streamed = False