Spaces:
Sleeping
Sleeping
Update FC_tool_main.py
Browse files- 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=
|
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.
|