Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -218,7 +218,7 @@ if picture is not None:
|
|
218 |
st.write(image_paths)
|
219 |
|
220 |
# Display the results
|
221 |
-
if predictions[match_idx] <= 0.
|
222 |
st.write('Welcome: ',image_paths[match_idx].split('/')[-1].split('.')[0])
|
223 |
else:
|
224 |
st.write("Match not found")
|
|
|
218 |
st.write(image_paths)
|
219 |
|
220 |
# Display the results
|
221 |
+
if predictions[match_idx] <= 0.3:
|
222 |
st.write('Welcome: ',image_paths[match_idx].split('/')[-1].split('.')[0])
|
223 |
else:
|
224 |
st.write("Match not found")
|