Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def query_llama(payload):
|
|
| 32 |
print(f"Error querying Llama model: {e}")
|
| 33 |
return None
|
| 34 |
|
| 35 |
-
def google_search(term, num_results=1, lang="en", timeout=
|
| 36 |
"""Perform a Google search and return results"""
|
| 37 |
print(f"Searching for term: {term}")
|
| 38 |
|
|
|
|
| 32 |
print(f"Error querying Llama model: {e}")
|
| 33 |
return None
|
| 34 |
|
| 35 |
+
def google_search(term, num_results=1, lang="en", timeout=30, safe="active", ssl_verify=None, days_back=90):
|
| 36 |
"""Perform a Google search and return results"""
|
| 37 |
print(f"Searching for term: {term}")
|
| 38 |
|