Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,8 @@ from smolagents import tool
|
|
| 2 |
import requests
|
| 3 |
import pandas as pd
|
| 4 |
|
| 5 |
-
@tool
|
|
|
|
| 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.
|