Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/zai-org/ChatGLM3
/ get_client
Function
get_client
composite_demo/client.py:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
24
@st.cache_resource
25
def
get_client() -> Client:
26
client = HFClient(MODEL_PATH, TOKENIZER_PATH, PT_PATH)
27
return
client
28
29
30
class
Client(Protocol):
Callers
3
demo_tool.py
File · 0.90
demo_ci.py
File · 0.90
demo_chat.py
File · 0.90
Calls
1
HFClient
Class · 0.85
Tested by
no test coverage detected