Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|