Spaces:
Runtime error
Runtime error
Jorge Henao
commited on
Commit
•
ae5fd49
1
Parent(s):
82bd383
interface connected to search
Browse files- app_pinecode.py +1 -1
app_pinecode.py
CHANGED
@@ -99,7 +99,7 @@ def search_and_show_results():
|
|
99 |
# set start time
|
100 |
stt = time.time()
|
101 |
# retrieve top 5 documents
|
102 |
-
results =
|
103 |
# set endtime
|
104 |
ent = time.time()
|
105 |
# measure resulting time
|
|
|
99 |
# set start time
|
100 |
stt = time.time()
|
101 |
# retrieve top 5 documents
|
102 |
+
results = search(query, retriever_top_k=5, reader_top_k=3)
|
103 |
# set endtime
|
104 |
ent = time.time()
|
105 |
# measure resulting time
|