Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ import yaml
|
|
| 13 |
# Import modules and classes from openai and smolagents
|
| 14 |
from smolagents import CodeAgent, HfApiModel, DuckDuckGoSearchTool, VisitWebpageTool
|
| 15 |
from tools import SimplifyAnswerTool
|
| 16 |
-
|
| 17 |
|
| 18 |
# Log in to Hugging Face with API_KEY
|
| 19 |
HF_API_KEY = os.getenv('HF_API_KEY')
|
|
|
|
| 13 |
# Import modules and classes from openai and smolagents
|
| 14 |
from smolagents import CodeAgent, HfApiModel, DuckDuckGoSearchTool, VisitWebpageTool
|
| 15 |
from tools import SimplifyAnswerTool
|
| 16 |
+
from huggingface_hub import login
|
| 17 |
|
| 18 |
# Log in to Hugging Face with API_KEY
|
| 19 |
HF_API_KEY = os.getenv('HF_API_KEY')
|