jhh6576 commited on
Commit
63f6f13
·
verified ·
1 Parent(s): 21b8353

Update app_enhanced.py

Browse files
Files changed (1) hide show
  1. app_enhanced.py +1 -1
app_enhanced.py CHANGED
@@ -927,7 +927,7 @@ def frame_file(filename):
927
  if __name__ == '__main__':
928
  # --- CHANGE: Use the port assigned by Hugging Face Spaces or default to 5000 ---
929
  # This makes the app compatible with HF Spaces and also allows local execution.
930
- port = int(os.getenv("PORT", 5000))
931
 
932
  print("🚀 Starting Enhanced Comic Generator...")
933
  print(f"🌐 Web interface starting on host 0.0.0.0, port {port}")
 
927
  if __name__ == '__main__':
928
  # --- CHANGE: Use the port assigned by Hugging Face Spaces or default to 5000 ---
929
  # This makes the app compatible with HF Spaces and also allows local execution.
930
+ port = int(os.getenv("PORT", 7860))
931
 
932
  print("🚀 Starting Enhanced Comic Generator...")
933
  print(f"🌐 Web interface starting on host 0.0.0.0, port {port}")