Spaces:
Runtime error
Runtime error
Kajise Org
commited on
Commit
•
17849a0
1
Parent(s):
2aa58d4
Test with 2 against 512 token prompt limit.
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def search_ddg(question: str):
|
|
41 |
output_string: str = ""
|
42 |
|
43 |
for element in result_texts:
|
44 |
-
if len(results) <
|
45 |
text_content = element.get_text()
|
46 |
results.append(text_content)
|
47 |
else:
|
|
|
41 |
output_string: str = ""
|
42 |
|
43 |
for element in result_texts:
|
44 |
+
if len(results) < 2:
|
45 |
text_content = element.get_text()
|
46 |
results.append(text_content)
|
47 |
else:
|