IvaElen commited on
Commit
8e9828f
1 Parent(s): b814636

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -52,10 +52,12 @@ if txt is not None:
52
 
53
  list_images, img_desc, list_images_vit, img_descs_vit = find_image_disc(txt, df)
54
  col1, col2 = st.columns(2)
 
 
55
  for ind, pic in enumerate(zip(list_images, list_images_vit)):
56
  with col1:
57
  st.image(pic[0])
58
  st.write(img_desc[ind])
59
  with col2:
60
  st.image(pic[1])
61
- st.write(img_desc[ind])
 
52
 
53
  list_images, img_desc, list_images_vit, img_descs_vit = find_image_disc(txt, df)
54
  col1, col2 = st.columns(2)
55
+ col1.header('ResNet50')
56
+ col2.header('ViT 32')
57
  for ind, pic in enumerate(zip(list_images, list_images_vit)):
58
  with col1:
59
  st.image(pic[0])
60
  st.write(img_desc[ind])
61
  with col2:
62
  st.image(pic[1])
63
+ st.write(img_descs_vit[ind])