mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
(fix) remove errant print statements
This commit is contained in:
parent
838e261ab9
commit
ee60c04251
2 changed files with 0 additions and 2 deletions
|
@ -227,7 +227,6 @@ def embedding(
|
||||||
additional_args={"complete_input_dict": data},
|
additional_args={"complete_input_dict": data},
|
||||||
original_response=response,
|
original_response=response,
|
||||||
)
|
)
|
||||||
# print(response.json())
|
|
||||||
"""
|
"""
|
||||||
response
|
response
|
||||||
{
|
{
|
||||||
|
|
|
@ -418,7 +418,6 @@ def embedding(
|
||||||
raise HuggingfaceError(status_code=500, message=embeddings['error'])
|
raise HuggingfaceError(status_code=500, message=embeddings['error'])
|
||||||
|
|
||||||
output_data = []
|
output_data = []
|
||||||
print(f"embeddings: {embeddings}")
|
|
||||||
if "similarities" in embeddings:
|
if "similarities" in embeddings:
|
||||||
for idx, embedding in embeddings["similarities"]:
|
for idx, embedding in embeddings["similarities"]:
|
||||||
output_data.append(
|
output_data.append(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue