Spaces:
Sleeping
Sleeping
Download debug_inspect.py from zeroday01/ipl_prediction_engine: direct link, hf CLI and curl.
- Browser
- Download file 509 Bytes
-
https://huggingface.co/spaces/zeroday01/ipl_prediction_engine/resolve/main/debug_inspect.py
- Command line
-
hf download hf://spaces/zeroday01/ipl_prediction_engine/debug_inspect.py
-
curl -L -o debug_inspect.py https://huggingface.co/spaces/zeroday01/ipl_prediction_engine/resolve/main/debug_inspect.py
509 Bytes
| import sys | |
| import os | |
| # Ensure Python can find the local modules | |
| sys.path.append(os.path.join(os.getcwd(), 'backend')) | |
| try: | |
| from ml_engine.hybrid_model import HybridEnsemble | |
| print(f"Module file: {sys.modules['ml_engine.hybrid_model'].__file__}") | |
| ensemble = HybridEnsemble() | |
| print(f"Attributes: {dir(ensemble)}") | |
| if hasattr(ensemble, 'load_models'): | |
| print("✅ load_models found") | |
| else: | |
| print("❌ load_models NOT found") | |
| except Exception as e: | |
| print(f"Error: {e}") | |