Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,6 +114,7 @@ def tryon():
|
|
| 114 |
|
| 115 |
if __name__ == "__main__":
|
| 116 |
import os
|
| 117 |
-
port = int(os.environ.get("PORT",
|
| 118 |
-
app.run(host="0.0.0.0", port=port
|
|
|
|
| 119 |
|
|
|
|
| 114 |
|
| 115 |
if __name__ == "__main__":
|
| 116 |
import os
|
| 117 |
+
port = int(os.environ.get("PORT", 7860)) # 👈 use 7860 (Hugging Face default)
|
| 118 |
+
app.run(host="0.0.0.0", port=port)
|
| 119 |
+
|
| 120 |
|