Bobricha commited on
Commit
bf4c922
·
verified ·
1 Parent(s): 589aa3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool,transformers
2
  import datetime
3
  import requests
4
  import pytz
@@ -7,11 +7,6 @@ from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
 
10
- from transformers import AutoModel
11
-
12
- access_token = "HF_TOKEN"
13
-
14
- model = AutoModel.from_pretrained("private/model", token=access_token)
15
 
16
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
17
  #@tool
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
 
7
 
8
  from Gradio_UI import GradioUI
9
 
 
 
 
 
 
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  #@tool