Duplicated from randydev/GPT-4
81b68d1
1
2
3
4
5
6
7
8
9
10
11
12
import os import uvicorn from fastapi import FastAPI app = FastAPI(docs_url=None, redoc_url="/") @app.get("/status") def hello(): return {"message": "running"} if __name__ == "__main__": uvicorn.run(app, host="0.0.0.0", port=7860)