This commit is contained in:
mevatron 2025-04-30 08:34:31 +00:00 committed by GitHub
commit 1ba7efc3ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,6 +152,7 @@ async def load_module_from_path(module_name, module_path):
# Load the module
spec = importlib.util.spec_from_file_location(module_name, module_path)
module = importlib.util.module_from_spec(spec)
sys.modules[module_name] = module
spec.loader.exec_module(module)
print(f"Loaded module: {module.__name__}")
if hasattr(module, "Pipeline"):