shashank970613 commited on
Commit
a46002f
·
verified ·
1 Parent(s): 6504112

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import requests
3
  import gradio as gr
4
  import spaces
5
- from smolagents import CodeAgent, DuckDuckGoSearchTool, InferenceClientModel, tool,smolagents ,HfApiModel
6
 
7
  # 1. Custom tool to download files if needed for tasks
8
  @tool
@@ -29,7 +29,7 @@ model = HfApiModel(
29
  )
30
 
31
  agent = CodeAgent(
32
- tools=[DuckDuckGoSearchTool(), get_file_content_tool],
33
  model=model,
34
  max_steps=6,
35
  verbosity_level=1
 
2
  import requests
3
  import gradio as gr
4
  import spaces
5
+ from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, tool
6
 
7
  # 1. Custom tool to download files if needed for tasks
8
  @tool
 
29
  )
30
 
31
  agent = CodeAgent(
32
+ tools=[DuckDuckGoSearchTool()],
33
  model=model,
34
  max_steps=6,
35
  verbosity_level=1