Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -227,7 +227,7 @@ def fetch_news(query, num_results=20):
|
|
| 227 |
return []
|
| 228 |
|
| 229 |
@cache(expire=3600)
|
| 230 |
-
def cached_fetch_news(query: str
|
| 231 |
return fetch_news(query)
|
| 232 |
|
| 233 |
|
|
|
|
| 227 |
return []
|
| 228 |
|
| 229 |
@cache(expire=3600)
|
| 230 |
+
def cached_fetch_news(query: str):
|
| 231 |
return fetch_news(query)
|
| 232 |
|
| 233 |
|