File size: 446 Bytes
3353ecc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import os
import nest_asyncio
import uvicorn
from fastapi import FastAPI
app = FastAPI(
title="ISHITA",
version="1.0.2",
contact={
"name": "ISHITA MUSIC BOT",
"url": "https://t.me/IshitaMusicBot",
},
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)
|