HUANG-Stephanie commited on
Commit
5276af2
1 Parent(s): 69fa980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -44,4 +44,7 @@ images = []
44
  # Rediriger la racine vers /docs
45
  @app.get("/")
46
  def read_root():
47
- return RedirectResponse(url="/docs")
 
 
 
 
44
  # Rediriger la racine vers /docs
45
  @app.get("/")
46
  def read_root():
47
+ return RedirectResponse(url="/docs")
48
+
49
+ if __name__ == "__main__":
50
+ uvicorn.run(app, host="0.0.0.0", port=7860)