| 54 | COMFYUI_AVAILABLE = False |
| 55 | # Fallback device management |
| 56 | class MockModelManagement: |
| 57 | @staticmethod |
| 58 | def get_torch_device(): |
| 59 | return torch.device("cuda" if torch.cuda.is_available() else "cpu") |
| 60 | model_management = MockModelManagement() |
| 61 | |
| 62 | # Import required modules |
no outgoing calls
no test coverage detected