Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xShug0/audio.cpp
/ SnapshotPlacement
Class
SnapshotPlacement
tools/model_manager.py:89–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
token_path = Path.home() /
".cache"
/
"huggingface"
/
"token"
88
if
token_path.is_file():
89
cached = token_path.read_text(encoding=
"utf-8"
).strip()
90
if
cached:
91
return
cached
92
return
None
93
94
95
def
http_headers() -> dict[str, str]:
Callers
1
model_manager.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected