Genzo1010 commited on
Commit
91cc787
·
verified ·
1 Parent(s): 3556ded

Update app.py

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