Mubin1917 commited on
Commit
ec3110b
1 Parent(s): dd41bc7

Update FC_tool_main.py

Browse files
Files changed (1) hide show
  1. FC_tool_main.py +1 -1
FC_tool_main.py CHANGED
@@ -231,7 +231,7 @@ class QuestionAnswerExtractor:
231
  answers: List[Answer]
232
 
233
  @staticmethod
234
- @tool(return_direct=True)
235
  def get_answer(youtube_video_id: str, question: str) -> str:
236
  """
237
  Answers a question about a YouTube video based on its transcript.
 
231
  answers: List[Answer]
232
 
233
  @staticmethod
234
+ @tool(return_direct=False)
235
  def get_answer(youtube_video_id: str, question: str) -> str:
236
  """
237
  Answers a question about a YouTube video based on its transcript.