MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / main

Function main

tools/model_manager.py:2021–2036  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2019 openunmix.filtering = filtering
2020 sys.modules["openunmix"] = openunmix
2021 sys.modules["openunmix.filtering"] = filtering
2022
2023 if "julius" not in sys.modules:
2024 julius = types.ModuleType("julius")
2025
2026 def _resample_frac_stub(*_args: Any, **_kwargs: Any) -> Any:
2027 raise RuntimeError("julius.resample_frac stub should not be called during Demucs conversion")
2028
2029 julius.resample_frac = _resample_frac_stub
2030 sys.modules["julius"] = julius
2031
2032 if "dora.log" not in sys.modules:
2033 log = types.ModuleType("dora.log")
2034
2035 def _fatal_stub(message: str) -> None:
2036 raise RuntimeError(message)
2037
2038 log.fatal = _fatal_stub
2039 dora = types.ModuleType("dora")

Callers 1

model_manager.pyFile · 0.70

Calls 5

command_listFunction · 0.85
command_infoFunction · 0.85
command_installFunction · 0.85
printFunction · 0.85
parse_argsFunction · 0.70

Tested by

no test coverage detected