Spaces:
Runtime error
Runtime error
Update web_search_tool.py
Browse files- web_search_tool.py +1 -0
web_search_tool.py
CHANGED
|
@@ -4,6 +4,7 @@ from langchain.tools import Tool
|
|
| 4 |
from typing import Optional, Any
|
| 5 |
|
| 6 |
#from env import api_key_WebSearch
|
|
|
|
| 7 |
api_key_WebSearch= os.environ.get('api_key_WebSearch')
|
| 8 |
|
| 9 |
# --- Web Search Tool ---
|
|
|
|
| 4 |
from typing import Optional, Any
|
| 5 |
|
| 6 |
#from env import api_key_WebSearch
|
| 7 |
+
import os
|
| 8 |
api_key_WebSearch= os.environ.get('api_key_WebSearch')
|
| 9 |
|
| 10 |
# --- Web Search Tool ---
|