Spaces:
Paused
Paused
Create server.py
Browse files1234567891011121314151617181920212223import osimport nest_asyncioimport uvicornfrom 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)server.pyAdded+23