Spaces:
Sleeping
Sleeping
File size: 458 Bytes
ddac0ae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | import os
import nest_asyncio
import uvicorn
from fastapi import FastAPI
app = FastAPI(
title="UltXtraHF",
version="1.0.2",
contact={
"name": "πΚΚβΦπ",
"url": "https://github.com/ufoptg/UltroidBackup/",
},
docs_url=None,
redoc_url="/"
)
@app.get("/status")
def status():
return {"message": "running"}
if __name__ == "__main__":
nest_asyncio.apply()
uvicorn.run(app, host="0.0.0.0", port=7860) |