bstraehle commited on
Commit
30c9a07
Β·
verified Β·
1 Parent(s): 7ec72d7

Update agents/crew.py

Browse files
Files changed (1) hide show
  1. agents/crew.py +4 -2
agents/crew.py CHANGED
@@ -317,18 +317,20 @@ def _get_final_question(question, file_path):
317
  def run_crew(question, file_path):
318
  print("")
319
  print(f"πŸ€– Question: {question}")
320
- print("")
321
 
322
  final_question = _get_final_question(question, file_path)
323
 
 
324
  print(f"πŸ€– Crew execution started")
 
325
  answer = GAIACrew().crew().kickoff(inputs={"question": final_question})
 
 
326
  print(f"πŸ€– Crew execution completed")
327
 
328
  final_answer = AITools.final_answer_tool(question, answer)
329
 
330
  print("")
331
  print(f"πŸ€– Answer: {final_answer}")
332
- print("")
333
 
334
  return final_answer
 
317
  def run_crew(question, file_path):
318
  print("")
319
  print(f"πŸ€– Question: {question}")
 
320
 
321
  final_question = _get_final_question(question, file_path)
322
 
323
+ print("")
324
  print(f"πŸ€– Crew execution started")
325
+
326
  answer = GAIACrew().crew().kickoff(inputs={"question": final_question})
327
+
328
+ print("")
329
  print(f"πŸ€– Crew execution completed")
330
 
331
  final_answer = AITools.final_answer_tool(question, answer)
332
 
333
  print("")
334
  print(f"πŸ€– Answer: {final_answer}")
 
335
 
336
  return final_answer