Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
change ksize in RAG
Browse files
RAG/rag_DocumentSearcher.py
CHANGED
|
@@ -273,7 +273,7 @@ def query_(awsauth,inputs, session_id,search_types):
|
|
| 273 |
images_2 = []
|
| 274 |
is_table_in_result = False
|
| 275 |
df = []
|
| 276 |
-
for hit in hits[0:
|
| 277 |
|
| 278 |
|
| 279 |
if(hit["_source"]["raw_element_type"] == 'table'):
|
|
|
|
| 273 |
images_2 = []
|
| 274 |
is_table_in_result = False
|
| 275 |
df = []
|
| 276 |
+
for hit in hits[0:5]:
|
| 277 |
|
| 278 |
|
| 279 |
if(hit["_source"]["raw_element_type"] == 'table'):
|