Abhaykoul commited on
Commit
7610a3e
·
verified ·
1 Parent(s): 8de1897

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ async def search_google(
77
  results = webs.search(
78
  query=q,
79
  region=region,
80
- safesearch=safesearch,
81
  max_results=max_results,
82
  )
83
  return JSONResponse(content=jsonable_encoder(results))
 
77
  results = webs.search(
78
  query=q,
79
  region=region,
80
+ safe=safesearch,
81
  max_results=max_results,
82
  )
83
  return JSONResponse(content=jsonable_encoder(results))