Spaces:
Runtime error
Runtime error
Commit
·
e717b40
1
Parent(s):
686e8f8
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ st.markdown("""---""")
|
|
61 |
number_of_results = st.slider("Number of results ", 1, 100, 10)
|
62 |
st.markdown("""---""")
|
63 |
|
64 |
-
ret_imgs, ret_scores, _, _ = search_images(text_query, "
|
65 |
|
66 |
st.markdown("<div style='align: center; display: flex'>", unsafe_allow_html=True)
|
67 |
st.image([str(result) for result in ret_imgs], caption = ["Score: " + str(r_s) for r_s in ret_scores], width=230)
|
|
|
61 |
number_of_results = st.slider("Number of results ", 1, 100, 10)
|
62 |
st.markdown("""---""")
|
63 |
|
64 |
+
ret_imgs, ret_scores, _, _ = search_images(text_query, "demo/", k = number_of_results)
|
65 |
|
66 |
st.markdown("<div style='align: center; display: flex'>", unsafe_allow_html=True)
|
67 |
st.image([str(result) for result in ret_imgs], caption = ["Score: " + str(r_s) for r_s in ret_scores], width=230)
|