Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -65,7 +65,7 @@ async def generate_report(request: Request, query: QueryModel):
|
|
65 |
|
66 |
# Combine query with user keywords
|
67 |
if query.internet:
|
68 |
-
search_query = together_response(description, model=llm_default_small, SysPrompt=SysPromptSearch, max_tokens = 25)
|
69 |
print(f"query:{description}, formatted query:{search_query}")
|
70 |
|
71 |
# Search for relevant URLs
|
|
|
65 |
|
66 |
# Combine query with user keywords
|
67 |
if query.internet:
|
68 |
+
search_query = description[:20]#together_response(description, model=llm_default_small, SysPrompt=SysPromptSearch, max_tokens = 25)
|
69 |
print(f"query:{description}, formatted query:{search_query}")
|
70 |
|
71 |
# Search for relevant URLs
|