Spaces:
Sleeping
Sleeping
jocko
commited on
Commit
·
f84ba6e
1
Parent(s):
c511385
fix image similarity detection
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -173,7 +173,7 @@ if query:
|
|
173 |
else:
|
174 |
st.warning("OpenAI API key not found. Please set OPENAI_API_KEY as a secret environment variable.")
|
175 |
|
176 |
-
if uploaded_file
|
177 |
with st.spinner("Searching medical cases..."):
|
178 |
print(uploaded_file)
|
179 |
st.write(f'uploading file {uploaded_file.name}')
|
|
|
173 |
else:
|
174 |
st.warning("OpenAI API key not found. Please set OPENAI_API_KEY as a secret environment variable.")
|
175 |
|
176 |
+
if uploaded_file:
|
177 |
with st.spinner("Searching medical cases..."):
|
178 |
print(uploaded_file)
|
179 |
st.write(f'uploading file {uploaded_file.name}')
|