Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/modelscope
/ get_endpoint
Function
get_endpoint
modelscope/hub/utils/utils.py:209–210 ·
view source on GitHub ↗
(cn_site=True)
Source
from the content-addressed store, hash-verified
207
208
209
def
get_endpoint(cn_site=True):
210
return
MODELSCOPE_URL_SCHEME + get_domain(cn_site)
211
212
213
def
resolve_endpoint(cli_endpoint: Optional[str] = None,
Callers
8
load_dataset_with_ctx
Function · 0.90
__init__
Method · 0.90
__init__
Method · 0.90
preupload_weights
Method · 0.90
_get_model_id_url
Method · 0.85
_get_repo_url
Method · 0.85
get_file_download_url
Function · 0.85
resolve_endpoint
Function · 0.85
Calls
1
get_domain
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…