Genzo1010 commited on
Commit
4d11781
·
verified ·
1 Parent(s): 414380c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -77,10 +77,4 @@ async def perform_ocr(file: UploadFile = File(...)):
77
 
78
  @app.get("/test/")
79
  async def test_call():
80
- return {"message": "Hi. I'm running"}
81
-
82
- import uvicorn
83
-
84
- # Main entry point
85
- if __name__ == "__main__":
86
- uvicorn.run("app:app", host="0.0.0.0", port=23333, reload=False)
 
77
 
78
  @app.get("/test/")
79
  async def test_call():
80
+ return {"message": "Hi. I'm running"}