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