Yermek68 commited on
Commit
91f0e24
·
verified ·
1 Parent(s): 999bcea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -42,3 +42,7 @@ async def summarize_text(files: List[UploadFile] = File(...)):
42
  @app.get("/ping")
43
  def ping():
44
  return {"status": "running"}
 
 
 
 
 
42
  @app.get("/ping")
43
  def ping():
44
  return {"status": "running"}
45
+
46
+ if __name__ == "__main__":
47
+ import uvicorn
48
+ uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)