Spaces:
Paused
Paused
from fastapi import FastAPI | |
import uvicorn | |
app = FastAPI() | |
async def root(): | |
return {"message": "Server is running"} | |
async def health_check(): | |
return {"status": "healthy"} | |
if __name__ == "__main__": | |
uvicorn.run( | |
"main.app:app", | |
host="0.0.0.0", | |
port=7680, | |
workers=1 | |
) |