pvanand commited on
Commit
d1d878f
1 Parent(s): 47d8d9a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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
- await return fetch_news(query)
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):