Spaces:
Runtime error
Runtime error
muhalmutaz
commited on
Commit
•
caf8fdb
1
Parent(s):
caeaae1
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ del data
|
|
17 |
embedder = SentenceTransformer('symanto/sn-xlm-roberta-base-snli-mnli-anli-xnli')
|
18 |
corpus_embeddings = embedder.encode(corpus, convert_to_tensor=True)
|
19 |
|
20 |
-
def search(query,top_k=
|
21 |
print("New query:")
|
22 |
print(query)
|
23 |
ans=[]
|
|
|
17 |
embedder = SentenceTransformer('symanto/sn-xlm-roberta-base-snli-mnli-anli-xnli')
|
18 |
corpus_embeddings = embedder.encode(corpus, convert_to_tensor=True)
|
19 |
|
20 |
+
def search(query,top_k=100):
|
21 |
print("New query:")
|
22 |
print(query)
|
23 |
ans=[]
|