ksvmuralidhar commited on
Commit
e02b592
1 Parent(s): a43c327

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,6 +146,6 @@ try:
146
  placeholder.empty()
147
  img_path = process_input_image(img_url)
148
  find_similar_images(img_path, 15)
149
- delete_file(os.path.dirname(img_path))
150
  except Exception as e:
151
  st.error(f'An unexpected error occured: \n{e}')
 
146
  placeholder.empty()
147
  img_path = process_input_image(img_url)
148
  find_similar_images(img_path, 15)
149
+ delete_file(img_path)
150
  except Exception as e:
151
  st.error(f'An unexpected error occured: \n{e}')