Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little fixes to Image Search App #1466

Merged
merged 3 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}")