MCPcopy
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
25def get_client() -> Client:
26 client = HFClient(MODEL_PATH, TOKENIZER_PATH, PT_PATH)
27 return client
28
29
30class Client(Protocol):

Callers 3

demo_tool.pyFile · 0.90
demo_ci.pyFile · 0.90
demo_chat.pyFile · 0.90

Calls 1

HFClientClass · 0.85

Tested by

no test coverage detected