TharunSivamani commited on
Commit
b65eb60
1 Parent(s): db2e47b

fixing code

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -70,10 +70,10 @@ def search_text(query, top_k):
70
  top_k_img = 17
71
 
72
  hits = util.semantic_search(query_emb, img_emb, top_k=top_k_img)[0]
73
- print("Going hits")
74
  images = []
75
- print(hits)
76
- print(len(hits))
77
  for hit in hits:
78
  photo_name = img_names[hit['corpus_id']]
79
  # print(photo_name)
 
70
  top_k_img = 17
71
 
72
  hits = util.semantic_search(query_emb, img_emb, top_k=top_k_img)[0]
73
+ # print("Going hits")
74
  images = []
75
+ # print(hits)
76
+ # print(len(hits))
77
  for hit in hits:
78
  photo_name = img_names[hit['corpus_id']]
79
  # print(photo_name)