Becio commited on
Commit
5cecac0
·
verified ·
1 Parent(s): 0f6f65b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def fetch_recent_info(topic):
12
  params = {
13
  "engine": "google",
14
  "q": f"{topic} news 2025",
15
- "api_key": os.getenv("SERPAPI_KEY"),
16
  "num": 10,
17
  }
18
  search = GoogleSearch(params)
 
12
  params = {
13
  "engine": "google",
14
  "q": f"{topic} news 2025",
15
+ "api_key": serpapi_key,
16
  "num": 10,
17
  }
18
  search = GoogleSearch(params)