Spaces:
Sleeping
Sleeping
arabellastrange
commited on
Commit
·
db2e7e4
1
Parent(s):
34e4e96
fixed the for loop
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def google_search_chat(message, history):
|
|
23 |
print(f'Search results returned: {len(search_results)}')
|
24 |
|
25 |
relevant_content = ""
|
26 |
-
for result in
|
27 |
relevant_content = relevant_content + "\n" + ''.join(result['text'])
|
28 |
|
29 |
print(f'Relevant content char length: {len(relevant_content)}')
|
|
|
23 |
print(f'Search results returned: {len(search_results)}')
|
24 |
|
25 |
relevant_content = ""
|
26 |
+
for result in search_results:
|
27 |
relevant_content = relevant_content + "\n" + ''.join(result['text'])
|
28 |
|
29 |
print(f'Relevant content char length: {len(relevant_content)}')
|