Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ app.add_middleware(
|
|
| 19 |
# Setup the app (e.g., initialize globals, startup event)
|
| 20 |
setup_app(app)
|
| 21 |
|
| 22 |
-
#
|
| 23 |
router = create_router(agent, logger, patients_collection, analysis_collection, users_collection, notifications_collection)
|
| 24 |
app.include_router(router)
|
| 25 |
|
|
|
|
| 19 |
# Setup the app (e.g., initialize globals, startup event)
|
| 20 |
setup_app(app)
|
| 21 |
|
| 22 |
+
# Include the router with dependencies
|
| 23 |
router = create_router(agent, logger, patients_collection, analysis_collection, users_collection, notifications_collection)
|
| 24 |
app.include_router(router)
|
| 25 |
|