File size: 1,126 Bytes
fff13d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python3
"""
Basic import tests to verify the NeuroAnim setup.
"""

import sys
from pathlib import Path

# Add project root to Python path
project_root = Path(__file__).parent.parent
sys.path.insert(0, str(project_root))

def test_imports():
    """Test that all modules can be imported successfully."""
    try:
        import utils
        print("βœ… utils module imported successfully")

        from utils.hf_wrapper import HFInferenceWrapper, ModelConfig
        print("βœ… HFInferenceWrapper and ModelConfig imported successfully")

        import mcp_servers
        print("βœ… mcp_servers module imported successfully")

        from mcp_servers import renderer, creative
        print("βœ… renderer and creative modules imported successfully")

        from orchestrator import NeuroAnimOrchestrator
        print("βœ… NeuroAnimOrchestrator imported successfully")

        print("\nπŸŽ‰ All imports successful! NeuroAnim is properly set up.")
        return True

    except ImportError as e:
        print(f"❌ Import failed: {e}")
        return False


if __name__ == "__main__":
    test_imports()