Kajise Org commited on
Commit
91d5f3f
·
1 Parent(s): 7966397

Limit gathered results to 3 due to model limitations.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def search_ddg(question: str):
42
  output_string: str = ""
43
 
44
  for element in result_texts:
45
- if len(results) < 5:
46
  text_content = element.get_text()
47
  results.append(text_content)
48
  else:
 
42
  output_string: str = ""
43
 
44
  for element in result_texts:
45
+ if len(results) < 3:
46
  text_content = element.get_text()
47
  results.append(text_content)
48
  else: