dylanglenister commited on
Commit
9251133
·
1 Parent(s): bc83113

Testing build flow.

Browse files

Commenting out startup code in app.py

Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -119,10 +119,10 @@ app.include_router(system.router)
119
  # Mount static files
120
  app.mount("/static", StaticFiles(directory="static"), name="static")
121
 
122
- if __name__ == "__main__":
123
- logger.info("Starting Medical AI Assistant server...")
124
- try:
125
- uvicorn.run(app, host="0.0.0.0", port=8000, log_level="info", reload=True)
126
- except Exception as e:
127
- logger.error(f"❌ Server startup failed: {e}")
128
- exit(1)
 
119
  # Mount static files
120
  app.mount("/static", StaticFiles(directory="static"), name="static")
121
 
122
+ #if __name__ == "__main__":
123
+ # logger.info("Starting Medical AI Assistant server...")
124
+ # try:
125
+ # uvicorn.run(app, host="0.0.0.0", port=8000, log_level="info", reload=True)
126
+ # except Exception as e:
127
+ # logger.error(f"❌ Server startup failed: {e}")
128
+ # exit(1)