NagarajanB1990 commited on
Commit
bd23629
·
verified ·
1 Parent(s): 74a8e18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import smolagents
2
  print("Smolagents version:", smolagents.__version__)
3
  import gradio as gr
4
- from smolagents import CodeAgent, CodeInterpreterTool, HfApiModel
 
5
  # Build agent
6
  agent = CodeAgent(
7
  tools=[CodeInterpreterTool()],
 
1
  import smolagents
2
  print("Smolagents version:", smolagents.__version__)
3
  import gradio as gr
4
+ from smolagents import CodeAgent, PythonCodeInterpreter, HfApiModel
5
+
6
  # Build agent
7
  agent = CodeAgent(
8
  tools=[CodeInterpreterTool()],