Open ibelem opened 3 months ago
The models are inaccessible from huggingface.co in China, we need to solve this issue.
- Please check if we can switch the domain from https://huggingface.co to https://hf-mirror.com/ for Chinese users.
- See if we can load https://modelscope.cn/ via fetch API.
Both
hf-mirror
andmodelScope
restrict the cross-domain access, fetching resource directly is not available. So the solution is to require users to manually download model files and upload through theload models locally
button in UI
The models are inaccessible from huggingface.co in China, we need to solve this issue.
How can we detect if the user is coming from China on the Web?
@NingW101