Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def predict(text,img):
|
|
71 |
top_N_images.append(l[index])
|
72 |
return scores,top_N_images
|
73 |
|
74 |
-
search_query =
|
75 |
|
76 |
with torch.no_grad():
|
77 |
# Encode and normalize the description using CLIP
|
|
|
71 |
top_N_images.append(l[index])
|
72 |
return scores,top_N_images
|
73 |
|
74 |
+
search_query = text
|
75 |
|
76 |
with torch.no_grad():
|
77 |
# Encode and normalize the description using CLIP
|