Skip to content

Commit

Permalink
Merge pull request #1468 from dnoliver/master
Browse files Browse the repository at this point in the history
Cast MODEL_DIM to Integer
  • Loading branch information
wxywb authored Nov 27, 2024
2 parents 9d8d8bd + 7ef954a commit 82b900b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Create collection
create_collection(
milvus_client=milvus_client, collection_name=COLLECTION_NAME, dim=MODEL_DIM
milvus_client=milvus_client, collection_name=COLLECTION_NAME, dim=int(MODEL_DIM)
)

# Load images from directory and generate embeddings
Expand Down

0 comments on commit 82b900b

Please sign in to comment.