BenjiELCA commited on
Commit
848b06c
·
1 Parent(s): 5afcecd
Files changed (1) hide show
  1. app.py +1 -1
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/None.jpg':
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: