Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,7 +193,7 @@ class CRMJABot:
|
|
| 193 |
self.planner = StudyPlanGenerator(self.db)
|
| 194 |
self.coach = MotivationalCoach()
|
| 195 |
self.analytics = StudyAnalytics(self.db.conn)
|
| 196 |
-
self.performance = PerformanceAnalyzer(self.db.
|
| 197 |
self.material_gen = StudyMaterialGenerator(self.db.conn)
|
| 198 |
self.tracker = ProgressTracker(self.db.conn)
|
| 199 |
|
|
|
|
| 193 |
self.planner = StudyPlanGenerator(self.db)
|
| 194 |
self.coach = MotivationalCoach()
|
| 195 |
self.analytics = StudyAnalytics(self.db.conn)
|
| 196 |
+
self.performance = PerformanceAnalyzer(self.db.get_connection()) # Linha corrigida
|
| 197 |
self.material_gen = StudyMaterialGenerator(self.db.conn)
|
| 198 |
self.tracker = ProgressTracker(self.db.conn)
|
| 199 |
|