randydev commited on
Commit
053dea9
·
verified ·
1 Parent(s): 7a250ac
Files changed (1) hide show
  1. server.py +0 -12
server.py DELETED
@@ -1,12 +0,0 @@
1
- import os
2
- import uvicorn
3
- from fastapi import FastAPI
4
-
5
- app = FastAPI(docs_url=None, redoc_url="/")
6
-
7
- @app.get("/status")
8
- def hello():
9
- return {"message": "running"}
10
-
11
- if __name__ == "__main__":
12
- uvicorn.run(app, host="0.0.0.0", port=7860)