Spaces:
Sleeping
Sleeping
jocko
commited on
Commit
·
78e9afc
1
Parent(s):
480f2fa
fix image similarity detection
Browse files- src/streamlit_app.py +1 -0
src/streamlit_app.py
CHANGED
|
@@ -169,6 +169,7 @@ if query:
|
|
| 169 |
st.warning("OpenAI API key not found. Please set OPENAI_API_KEY as a secret environment variable.")
|
| 170 |
|
| 171 |
if uploaded_file is not None:
|
|
|
|
| 172 |
query_image = Image.open(uploaded_file).convert("RGB")
|
| 173 |
st.image(query_image, caption="Your uploaded image", use_container_width=True)
|
| 174 |
|
|
|
|
| 169 |
st.warning("OpenAI API key not found. Please set OPENAI_API_KEY as a secret environment variable.")
|
| 170 |
|
| 171 |
if uploaded_file is not None:
|
| 172 |
+
print(uploaded_file)
|
| 173 |
query_image = Image.open(uploaded_file).convert("RGB")
|
| 174 |
st.image(query_image, caption="Your uploaded image", use_container_width=True)
|
| 175 |
|