fix: remove ruff ignore SIM300 (#11810)

This commit is contained in:
barabicu
2024-12-19 19:30:51 +09:00
committed by GitHub
parent 560d375e0f
commit d057067543
6 changed files with 12 additions and 13 deletions

View File

@@ -119,7 +119,7 @@ class ReplicateEmbeddingModel(_CommonReplicate, TextEmbeddingModel):
embeddings.append(result[0].get("embedding"))
return [list(map(float, e)) for e in embeddings]
elif "texts" == text_input_key:
elif text_input_key == "texts":
result = client.run(
replicate_model_version,
input={