Spaces:
Sleeping
Sleeping
Add NFL Dataset
Browse files
app.py
CHANGED
|
@@ -18,6 +18,10 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
@tool
|
| 22 |
def tool_calculator(num1: int, num2: int, operation: str) -> int:
|
| 23 |
|
|
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
| 21 |
+
from datasets import load_dataset
|
| 22 |
+
|
| 23 |
+
ds = load_dataset("nfliu/decontextualization")
|
| 24 |
+
|
| 25 |
@tool
|
| 26 |
def tool_calculator(num1: int, num2: int, operation: str) -> int:
|
| 27 |
|