eptan commited on
Commit
1551c67
·
verified ·
1 Parent(s): 2a4e498

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. outputs/.gitkeep +0 -0
  2. server/app.py +2 -2
outputs/.gitkeep ADDED
File without changes
server/app.py CHANGED
@@ -77,9 +77,9 @@ app = create_app(
77
 
78
 
79
 
80
- def main():
81
  import uvicorn
82
- uvicorn.run(app, host="0.0.0.0", port=8000)
83
 
84
 
85
  if __name__ == "__main__":
 
77
 
78
 
79
 
80
+ def main(host: str = "0.0.0.0", port: int = 8000):
81
  import uvicorn
82
+ uvicorn.run(app, host=host, port=port)
83
 
84
 
85
  if __name__ == "__main__":