Spaces:
Running
Running
Commit
·
7026488
1
Parent(s):
d93259b
Update app.py
Browse filesreformat a text to be a markdown
app.py
CHANGED
@@ -51,13 +51,14 @@ target_size = (224, 224)
|
|
51 |
st.set_page_config(page_title="Product Retrieval App")
|
52 |
st.title("Product Retrieval App")
|
53 |
|
54 |
-
|
55 |
To use the Product Retrieval App, you need to:
|
56 |
1. Select an image that depicts the item of interest. Acceptable formats are JPG, JPEG, and PNG.
|
57 |
2. Upload the image by either dragging and dropping the file into the search field or selecting a file from your computer using the “browse files” button.
|
58 |
-
3. Scroll to the bottom of the page to review the output results.
|
|
|
59 |
|
60 |
-
Choose an image..."
|
61 |
|
62 |
loading_text = st.empty()
|
63 |
|
|
|
51 |
st.set_page_config(page_title="Product Retrieval App")
|
52 |
st.title("Product Retrieval App")
|
53 |
|
54 |
+
st.markdown("""The Product Retrieval App is a demonstration of a computer vision model created by <a href="https://intelliarts.com/">Intelliarts</a>. It can analyze and interpret visual data , i.e., shapes, colors, and textures from uploaded digital images. The data is then used to conduct a search on the web. The output of the computer vision model is a set of images that are predicted to be most similar to the input image.
|
55 |
To use the Product Retrieval App, you need to:
|
56 |
1. Select an image that depicts the item of interest. Acceptable formats are JPG, JPEG, and PNG.
|
57 |
2. Upload the image by either dragging and dropping the file into the search field or selecting a file from your computer using the “browse files” button.
|
58 |
+
3. Scroll to the bottom of the page to review the output results.""",
|
59 |
+
unsafe_allow_html=True)
|
60 |
|
61 |
+
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
|
62 |
|
63 |
loading_text = st.empty()
|
64 |
|