Spaces:
Sleeping
Sleeping
jocko
commited on
Commit
·
7f5755e
1
Parent(s):
f84ba6e
fix image similarity detection
Browse files- src/streamlit_app.py +0 -2
src/streamlit_app.py
CHANGED
@@ -199,7 +199,5 @@ if uploaded_file:
|
|
199 |
similar_img = data[int(idx)]['image']
|
200 |
st.image(similar_img, caption=f"Similarity: {score:.3f}", use_container_width=True)
|
201 |
st.markdown(f"**Case description:** {data[int(idx)]['complaints']}")
|
202 |
-
else:
|
203 |
-
st.write("no image")
|
204 |
|
205 |
st.caption("This chatbot is for educational purposes only and does not provide medical advice.")
|
|
|
199 |
similar_img = data[int(idx)]['image']
|
200 |
st.image(similar_img, caption=f"Similarity: {score:.3f}", use_container_width=True)
|
201 |
st.markdown(f"**Case description:** {data[int(idx)]['complaints']}")
|
|
|
|
|
202 |
|
203 |
st.caption("This chatbot is for educational purposes only and does not provide medical advice.")
|