Spaces:
Runtime error
Runtime error
Download backend/debug_import.py from lordofgaming/voiceforge: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/lordofgaming/voiceforge/resolve/main/backend/debug_import.py
- Command line
-
hf download hf://spaces/lordofgaming/voiceforge/backend/debug_import.py
-
curl -L -o debug_import.py https://huggingface.co/spaces/lordofgaming/voiceforge/resolve/main/backend/debug_import.py
318 Bytes
| import sys | |
| import os | |
| # Add current dir to path | |
| sys.path.append(os.getcwd()) | |
| print(f"PYTHONPATH: {sys.path}") | |
| try: | |
| print("Attempting to import app.main...") | |
| from app.main import app | |
| print("✅ Success!") | |
| except Exception as e: | |
| print(f"❌ Failed: {e}") | |
| import traceback | |
| traceback.print_exc() | |