fix: remove ruff ignore SIM300 (#11810)
This commit is contained in:
parent
560d375e0f
commit
d057067543
6 changed files with 12 additions and 13 deletions
|
|
@ -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={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue