Spaces:
Sleeping
Sleeping
Update websearch.py
Browse files- websearch.py +1 -1
websearch.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
# Real-time web search using SerpAPI (Optional)
|
4 |
try:
|
5 |
from serpapi import GoogleSearch
|
6 |
-
SERP_API_KEY = os.environ.get("SERPAPI_API_KEY", "
|
7 |
serpapi_available = True
|
8 |
except:
|
9 |
serpapi_available = False
|
|
|
3 |
# Real-time web search using SerpAPI (Optional)
|
4 |
try:
|
5 |
from serpapi import GoogleSearch
|
6 |
+
SERP_API_KEY = os.environ.get("SERPAPI_API_KEY", "e41a265c89513f03e569eda056f6f50374332cd6c76feb1662baf401c7adb564") # Add via HF secrets
|
7 |
serpapi_available = True
|
8 |
except:
|
9 |
serpapi_available = False
|