Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def main():
|
|
129 |
Embeddings of 20,000 vegetable images are stored in Milvus vector database. Embeddings of the input image are computed and 15 most similar images (based on L2 distance) are displayed.</p>
|
130 |
'''
|
131 |
st.markdown(desc, unsafe_allow_html=True)
|
132 |
-
img_url = st.text_input("Paste the image URL of a vegetable:", "")
|
133 |
if img_url:
|
134 |
img_path = process_input_image(img_url)
|
135 |
find_similar_images(img_path, 15)
|
|
|
129 |
Embeddings of 20,000 vegetable images are stored in Milvus vector database. Embeddings of the input image are computed and 15 most similar images (based on L2 distance) are displayed.</p>
|
130 |
'''
|
131 |
st.markdown(desc, unsafe_allow_html=True)
|
132 |
+
img_url = st.text_input("Paste the image URL of a vegetable and hit Enter:", "")
|
133 |
if img_url:
|
134 |
img_path = process_input_image(img_url)
|
135 |
find_similar_images(img_path, 15)
|