Spaces:
Sleeping
Sleeping
dylanglenister
commited on
Commit
·
9251133
1
Parent(s):
bc83113
Testing build flow.
Browse filesCommenting out startup code in app.py
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)
|