Spaces:
Running
Running
Anirudh Esthuri
commited on
Commit
Β·
3899a87
1
Parent(s):
12b1544
Add flush to ensure debug logs appear
Browse files
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:
|