Skip to content

Commit

Permalink
Merge pull request #1466 from dnoliver/master
Browse files Browse the repository at this point in the history
Little fixes to Image Search App
  • Loading branch information
wxywb authored Nov 26, 2024
2 parents a83141b + 2a8b89b commit 9d8d8bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ venv.bak/

*/node_modules
solutions/text_search_engine/quick_deploy/client/node_modules

bootcamp/tutorials/quickstart/apps/image_search_with_milvus/reverse_image_search*
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Follow these steps to quickly deploy the application locally:
**1. Download Codes**
```bash
$ git clone <https://github.com/milvus-io/bootcamp.git>
$ git clone https://github.com/milvus-io/bootcamp.git
$ cd bootcamp/bootcamp/tutorials/quickstart/app/image_search_with_milvus
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ def get_image_embedding(image: Image):
imgName = img_info["filename"]
score = info["distance"]
img = Image.open(imgName)
cols[i % 5].image(img, use_column_width=True)
cols[i % 5].image(img, use_container_width=True)
if show_distance:
cols[i % 5].write(f"Score: {score:.3f}")

0 comments on commit 9d8d8bd

Please sign in to comment.