From 7180c199d87568e7d41041a71cda3565793cf068 Mon Sep 17 00:00:00 2001 From: Nicolas Oliver Date: Mon, 25 Nov 2024 08:26:11 -0800 Subject: [PATCH 1/3] Update parameter in Streamlit app * use_column_width is deprecated * replacing it with use_container_width --- .../tutorials/quickstart/apps/image_search_with_milvus/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/app.py b/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/app.py index 47a74230b..51f384a43 100644 --- a/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/app.py +++ b/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/app.py @@ -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}") From 0b9cd8e12a460418452da84f44e57182f530ee01 Mon Sep 17 00:00:00 2001 From: Nicolas Oliver Date: Mon, 25 Nov 2024 08:27:07 -0800 Subject: [PATCH 2/3] Add reverse_image_search files to gitignore * Add dataset folder and zip file to gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index d4d696fc0..77f894031 100644 --- a/.gitignore +++ b/.gitignore @@ -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* From 2a8b89b8c678a3dd281952cd7ff42db5adef47f1 Mon Sep 17 00:00:00 2001 From: Nicolas Oliver Date: Mon, 25 Nov 2024 08:27:38 -0800 Subject: [PATCH 3/3] Remove characters from README * Remove <> characters from repo url --- .../quickstart/apps/image_search_with_milvus/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/README.md b/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/README.md index 1aab48349..2a18cd464 100644 --- a/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/README.md +++ b/bootcamp/tutorials/quickstart/apps/image_search_with_milvus/README.md @@ -24,7 +24,7 @@ Follow these steps to quickly deploy the application locally: **1. Download Codes** ```bash -$ git clone +$ git clone https://github.com/milvus-io/bootcamp.git $ cd bootcamp/bootcamp/tutorials/quickstart/app/image_search_with_milvus ```