Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -323,7 +323,7 @@ def main():
|
|
323 |
img_selected = image_select("If you have no image and just want to test the demo, click on one of these images", ["./images/none.jpg", "./images/example1.jpg", "./images/example2.jpg", "./images/example3.jpg"],
|
324 |
captions=["None", "Example 1", "Example 2", "Example 3"], index=0, use_container_width=False, return_value="original")
|
325 |
|
326 |
-
if img_selected== './images/
|
327 |
print('No example image selected')
|
328 |
#delete the prediction
|
329 |
if 'prediction' in st.session_state:
|
|
|
323 |
img_selected = image_select("If you have no image and just want to test the demo, click on one of these images", ["./images/none.jpg", "./images/example1.jpg", "./images/example2.jpg", "./images/example3.jpg"],
|
324 |
captions=["None", "Example 1", "Example 2", "Example 3"], index=0, use_container_width=False, return_value="original")
|
325 |
|
326 |
+
if img_selected== './images/none.jpg':
|
327 |
print('No example image selected')
|
328 |
#delete the prediction
|
329 |
if 'prediction' in st.session_state:
|