Spaces:
Build error
Build error
File size: 277 Bytes
aa290c6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from fastapi import FastAPI
import uvicorn
from app import watermelon
app = FastAPI()
app.include_router(watermelon.router)
@app.get("/")
def root():
return {"detail": "AI Command Patcher"}
if __name__ == "__main__":
uvicorn.run(app, host="127.0.0.1", port=8000)
|