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

Class SnapshotSource

tools/model_manager.py:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 "hdemucs_mmi": {"models": ["75fc33f5"], "segment": 44},
80}
81
82
83def huggingface_token() -> str | None:
84 token = os.environ.get("HF_TOKEN") or os.environ.get("HUGGING_FACE_HUB_TOKEN")
85 if token:
86 return token.strip()
87 token_path = Path.home() / ".cache" / "huggingface" / "token"
88 if token_path.is_file():

Callers 1

model_manager.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected