Spaces:
Sleeping
Sleeping
gefiwek187
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def summarize_web_results(query: str, search_results: List[Dict[str, str]]) -> s
|
|
33 |
|
34 |
Summary:"""
|
35 |
|
36 |
-
summary = DDGS().chat(prompt, model="
|
37 |
|
38 |
# Append sources to the summary
|
39 |
summary_with_sources = summary + "\n\nSources:\n" + "\n".join(f"{idx + 1}. {link}" for idx, link in enumerate(sources))
|
|
|
33 |
|
34 |
Summary:"""
|
35 |
|
36 |
+
summary = DDGS().chat(prompt, model="gpt-4o-mini")
|
37 |
|
38 |
# Append sources to the summary
|
39 |
summary_with_sources = summary + "\n\nSources:\n" + "\n".join(f"{idx + 1}. {link}" for idx, link in enumerate(sources))
|