Anirudh Esthuri commited on
Commit
3899a87
Β·
1 Parent(s): 12b1544

Add flush to ensure debug logs appear

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -94,8 +94,10 @@ if not IMPORTS_SUCCESSFUL:
94
 
95
  # Debug: Show that app is loading
96
  print("Rendering initial content...", file=sys.stderr)
 
97
  st.write("πŸš€ App is loading...")
98
  print("βœ“ Initial content rendered", file=sys.stderr)
 
99
 
100
  try:
101
  with open("./styles.css") as f:
 
94
 
95
  # Debug: Show that app is loading
96
  print("Rendering initial content...", file=sys.stderr)
97
+ sys.stderr.flush() # Force flush to ensure logs appear
98
  st.write("πŸš€ App is loading...")
99
  print("βœ“ Initial content rendered", file=sys.stderr)
100
+ sys.stderr.flush()
101
 
102
  try:
103
  with open("./styles.css") as f: