jmccarty commited on
Commit
91f5895
·
verified ·
1 Parent(s): 49e830e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,10 +1,10 @@
1
  pip install smolagents -U
2
 
3
- from huggingface_hub import notebook_login
4
 
5
- notebook_login()
6
 
7
- from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
8
 
9
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
10
 
 
1
  pip install smolagents -U
2
 
3
+ from huggingface_hub import login
4
 
5
+ login()
6
 
7
+ ffrom smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
8
 
9
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
10