Jayashree Sridhar commited on
Commit
44102bf
·
1 Parent(s): 543e863

crew run code in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ class PersonalCoachApp:
77
 
78
  # Execute crew
79
  print(f"Processing input in {self.session_data['language']}...")
80
- result = self.crew.run(inputs=crew_input)
81
 
82
  # Extract response
83
  response_text = result.get("final_response", "I'm here to help. Please tell me more.")
 
77
 
78
  # Execute crew
79
  print(f"Processing input in {self.session_data['language']}...")
80
+ result = self.crew.chat(inputs=crew_input)
81
 
82
  # Extract response
83
  response_text = result.get("final_response", "I'm here to help. Please tell me more.")