sunheycho commited on
Commit
b32c828
Β·
1 Parent(s): 8e8cd50

Debug: Add file system debugging to identify missing product_comparison.py

Browse files

- Add current working directory and file listing to startup debug
- This will help identify if product_comparison.py exists in Hugging Face Spaces
- Force rebuild trigger for Hugging Face Spaces

Files changed (1) hide show
  1. api.py +2 -0
api.py CHANGED
@@ -95,6 +95,8 @@ except Exception as e:
95
 
96
  print("=" * 80)
97
  print(f"[STARTUP DEBUG] 🏁 Import test completed. Coordinator available: {get_product_comparison_coordinator is not None}")
 
 
98
  print("=" * 80)
99
  # ν™˜κ²½ λ³€μˆ˜μ—μ„œ λΉ„λ°€ ν‚€λ₯Ό κ°€μ Έμ˜€κ±°λ‚˜, μ—†μœΌλ©΄ μ•ˆμ „ν•œ 랜덀 ν‚€ 생성
100
  secret_key = os.environ.get('FLASK_SECRET_KEY')
 
95
 
96
  print("=" * 80)
97
  print(f"[STARTUP DEBUG] 🏁 Import test completed. Coordinator available: {get_product_comparison_coordinator is not None}")
98
+ print(f"[STARTUP DEBUG] πŸ“ Current working directory: {os.getcwd()}")
99
+ print(f"[STARTUP DEBUG] πŸ“‚ Files in current directory: {os.listdir('.')}")
100
  print("=" * 80)
101
  # ν™˜κ²½ λ³€μˆ˜μ—μ„œ λΉ„λ°€ ν‚€λ₯Ό κ°€μ Έμ˜€κ±°λ‚˜, μ—†μœΌλ©΄ μ•ˆμ „ν•œ 랜덀 ν‚€ 생성
102
  secret_key = os.environ.get('FLASK_SECRET_KEY')