Spaces:
Sleeping
Sleeping
Debug: Add startup logging to diagnose book loading issues and force HF Space restart
Browse files
app.py
CHANGED
|
@@ -415,6 +415,9 @@ def get_diagnostic():
|
|
| 415 |
|
| 416 |
# Launch the app
|
| 417 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
| 418 |
app.launch(
|
| 419 |
server_name="0.0.0.0",
|
| 420 |
server_port=7860,
|
|
|
|
| 415 |
|
| 416 |
# Launch the app
|
| 417 |
if __name__ == "__main__":
|
| 418 |
+
print("π Starting Borges Graph Explorer...")
|
| 419 |
+
print(f"π Books available: {len(available_books)}")
|
| 420 |
+
print(f"π Current book: {borges_rag.current_book}")
|
| 421 |
app.launch(
|
| 422 |
server_name="0.0.0.0",
|
| 423 |
server_port=7860,
|