Skip to content

Fetch models for China AI PC Dev Kit users #6

@ibelem

Description

@ibelem

The models are inaccessible from huggingface.co in China, we need to solve this issue.

  1. Please check if we can switch the domain from https://huggingface.co to https://hf-mirror.com/ for Chinese users.
  2. 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?

  1. The https://ipinfo.io/ need to pay for the API access
  2. The Google Maps Geocoding API requires user's permissions for accessing Geolocation API at first

@NingW101

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions