Hetfield08 commited on
Commit
7c61b22
·
verified ·
1 Parent(s): 69252a7

Fix transform class to tool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
23
 
24
  #from datasets import load_dataset
25
  #ds = load_dataset("nfliu/decontextualization")
26
-
27
  def answer_nfl_question_tool(question: str) -> str:
28
  """
29
  A tool that answers the user's questions about the NFL rules, tactics and players.
 
23
 
24
  #from datasets import load_dataset
25
  #ds = load_dataset("nfliu/decontextualization")
26
+ @tool
27
  def answer_nfl_question_tool(question: str) -> str:
28
  """
29
  A tool that answers the user's questions about the NFL rules, tactics and players.