Sonu313131 commited on
Commit
d1458e5
·
verified ·
1 Parent(s): f5d3707

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -31,11 +31,11 @@ from smolagents import CodeAgent
31
  # 1. Instantiate Agent ( modify this part to create your agent)
32
  try:
33
  agent = CodeAgent(
34
- tools=[DuckDuckGoSearchTool()],
35
- model=InferenceClientModel("HuggingFaceH4/zephyr-7b-beta"),
36
- max_steps=5,
37
- verbosity_level=2
38
- )
39
 
40
  except Exception as e:
41
  print(f"Error instantiating agent: {e}")
 
31
  # 1. Instantiate Agent ( modify this part to create your agent)
32
  try:
33
  agent = CodeAgent(
34
+ tools=[DuckDuckGoSearchTool()],
35
+ model=InferenceClientModel("HuggingFaceH4/zephyr-7b-beta"),
36
+ max_steps=5,
37
+ verbosity_level=2
38
+ )
39
 
40
  except Exception as e:
41
  print(f"Error instantiating agent: {e}")