MCPcopy Index your code
hub / github.com/idootop/MagicMirror / _get_model_path

Function _get_model_path

src-python/magic/face.py:64–67  ·  view source on GitHub ↗
(file_name: str)

Source from the content-addressed store, hash-verified

62
63
64def _get_model_path(file_name: str):
65 return os.path.abspath(
66 os.path.join(os.path.dirname(__file__), os.pardir, "models", file_name)
67 )

Callers 1

load_modelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected