web-ai-showcase
web-ai-showcase copied to clipboard
Fetch models for China AI PC Dev Kit users
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.
How can we detect if the user is coming from China on the Web?
- The https://ipinfo.io/ need to pay for the API access
- The Google Maps Geocoding API requires user's permissions for accessing Geolocation API at first
@NingW101