Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ async def search_google(
|
|
77 |
results = webs.search(
|
78 |
query=q,
|
79 |
region=region,
|
80 |
-
|
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))
|