Da-Rabbit-Hole commited on
Commit
db0d289
·
verified ·
1 Parent(s): 1112a98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ from smolagents import tool
2
  import requests
3
  import pandas as pd
4
 
5
- @tool def my_custom_tool(arg1: str, arg2: int) -> str:
 
6
  """A placeholder tool that simply echoes its inputs.
7
  Args:
8
  arg1: The first argument.
 
2
  import requests
3
  import pandas as pd
4
 
5
+ @tool
6
+ def my_custom_tool(arg1: str, arg2: int) -> str:
7
  """A placeholder tool that simply echoes its inputs.
8
  Args:
9
  arg1: The first argument.