abrar6024 commited on
Commit
562257a
·
1 Parent(s): c8dc7a5

Fix HF UI

Browse files
Files changed (1) hide show
  1. server/app.py +10 -1
server/app.py CHANGED
@@ -654,4 +654,13 @@ async def reset():
654
 
655
  @app.get("/health")
656
  async def health():
657
- return {"status": "ok"}
 
 
 
 
 
 
 
 
 
 
654
 
655
  @app.get("/health")
656
  async def health():
657
+ return {"status": "ok"}
658
+
659
+
660
+ def main():
661
+ import uvicorn
662
+ uvicorn.run("server.app:app", host="0.0.0.0", port=7860)
663
+
664
+
665
+ if __name__ == "__main__":
666
+ main()