Spaces:
Runtime error
Runtime error
| import os | |
| import uvicorn | |
| from fastapi import FastAPI | |
| from config import config | |
| from routers import diarizer | |
| app = FastAPI() | |
| app.include_router(diarizer.router, prefix="/api/v1") | |
| def healthcheck(): | |
| return { | |
| "status": True, | |
| "message": "Server is healthy!" | |
| } | |
| if __name__ == "__main__": | |
| uvicorn.run(app, host="0.0.0.0", port=config.PORT) | |