maham234 commited on
Commit
6c1dc97
·
verified ·
1 Parent(s): 5ba1447

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -114,6 +114,7 @@ def tryon():
114
 
115
  if __name__ == "__main__":
116
  import os
117
- port = int(os.environ.get("PORT", 5000))
118
- app.run(host="0.0.0.0", port=port, debug=False)
 
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