Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -65,9 +65,7 @@ async def generate_report(request: Request, query: QueryModel):
|
|
65 |
|
66 |
# Combine query with user keywords
|
67 |
if query.internet:
|
68 |
-
search_query = description
|
69 |
-
print(f"query:{description}, formatted query:{search_query}")
|
70 |
-
|
71 |
# Search for relevant URLs
|
72 |
urls = search_brave(search_query, num_results=4)
|
73 |
|
|
|
65 |
|
66 |
# Combine query with user keywords
|
67 |
if query.internet:
|
68 |
+
search_query = description
|
|
|
|
|
69 |
# Search for relevant URLs
|
70 |
urls = search_brave(search_query, num_results=4)
|
71 |
|