Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -75,7 +75,7 @@ async def generate_report(request: Request, query: QueryModel):
|
|
75 |
|
76 |
# Combine query with user keywords
|
77 |
if query.internet:
|
78 |
-
search_query = description
|
79 |
# Search for relevant URLs
|
80 |
try:
|
81 |
urls,optimized_search_query = search_brave(search_query, num_results=8)
|
|
|
75 |
|
76 |
# Combine query with user keywords
|
77 |
if query.internet:
|
78 |
+
search_query = description #+" "+query_str
|
79 |
# Search for relevant URLs
|
80 |
try:
|
81 |
urls,optimized_search_query = search_brave(search_query, num_results=8)
|