mgokg commited on
Commit
b33b22e
·
verified ·
1 Parent(s): 11c5c8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -77,4 +77,5 @@ if __name__ == "__main__":
77
  port = int(os.getenv("PORT", 7860))
78
 
79
  # We bind to 0.0.0.0 to make the app accessible within the HF container
80
- uvicorn.run(app, host="0.0.0.0", port=port)
 
 
77
  port = int(os.getenv("PORT", 7860))
78
 
79
  # We bind to 0.0.0.0 to make the app accessible within the HF container
80
+ #uvicorn.run(app, host="0.0.0.0", port=port)
81
+ stream.launch(server_name="0.0.0.0", server_port=port)