shivangibithel commited on
Commit
0a6c9ba
1 Parent(s): 7b047ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def search(query, k=5):
57
  for i in I[0]:
58
  text_id = i
59
  image_id = str(image_list[i])
60
- image_data = zip_file.read("Images/" +image_id)
61
  image = Image.open(image_data)
62
  st.image(image, caption=image_name, width=200)
63
 
 
57
  for i in I[0]:
58
  text_id = i
59
  image_id = str(image_list[i])
60
+ image_data = zip_file.open("Images/" +image_id)
61
  image = Image.open(image_data)
62
  st.image(image, caption=image_name, width=200)
63