Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,5 +58,5 @@ def index():
|
|
| 58 |
|
| 59 |
if __name__ == "__main__":
|
| 60 |
# 讀取 Dockerfile 設定的環境變數 PORT
|
| 61 |
-
port = int(os.environ.get("PORT",
|
| 62 |
app.run(host="0.0.0.0", port=port, debug=True)
|
|
|
|
| 58 |
|
| 59 |
if __name__ == "__main__":
|
| 60 |
# 讀取 Dockerfile 設定的環境變數 PORT
|
| 61 |
+
port = int(os.environ.get("PORT", 7860))
|
| 62 |
app.run(host="0.0.0.0", port=port, debug=True)
|