Spaces:
Runtime error
Runtime error
TenPoisk
commited on
Commit
·
504bf33
1
Parent(s):
103cfb7
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def compute_text_embeddings(list_of_strings):
|
|
35 |
return result / np.linalg.norm(result, axis=1, keepdims=True)
|
36 |
|
37 |
|
38 |
-
def image_search(query, corpus, n_results=
|
39 |
positive_embeddings = None
|
40 |
|
41 |
def concatenate_embeddings(e1, e2):
|
@@ -91,7 +91,7 @@ def image_search(query, corpus, n_results=75):
|
|
91 |
|
92 |
|
93 |
description = """
|
94 |
-
#
|
95 |
**Enter your query and hit enter**
|
96 |
"""
|
97 |
|
|
|
35 |
return result / np.linalg.norm(result, axis=1, keepdims=True)
|
36 |
|
37 |
|
38 |
+
def image_search(query, corpus, n_results=num_results):
|
39 |
positive_embeddings = None
|
40 |
|
41 |
def concatenate_embeddings(e1, e2):
|
|
|
91 |
|
92 |
|
93 |
description = """
|
94 |
+
# ImgLib
|
95 |
**Enter your query and hit enter**
|
96 |
"""
|
97 |
|