Parcourir la source

Download dependencies using GitHub mirrow from China instead of Huggingface. (#297)

Fangjun Kuang il y a 1 an
Parent
commit
4c00ac78b9
3 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      cmake/kaldi-native-fbank.cmake
  2. 1 1
      cmake/ncnn.cmake
  3. 1 1
      cmake/pybind11.cmake

+ 1 - 1
cmake/kaldi-native-fbank.cmake

@@ -3,7 +3,7 @@ function(download_kaldi_native_fbank)
 
   # Please also change ../pack-for-embedded-systems.sh
   set(kaldi_native_fbank_URL  "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz")
-  set(kaldi_native_fbank_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps /resolve/main/kaldi-native-fbank-1.18.6.tar.gz")
+  set(kaldi_native_fbank_URL2  "https://hub.nuaa.cf/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz")
   set(kaldi_native_fbank_HASH "SHA256=6202a00cd06ba8ff89beb7b6f85cda34e073e94f25fc29e37c519bff0706bf19")
 
   # If you don't have access to the Internet, please download it to your

+ 1 - 1
cmake/ncnn.cmake

@@ -7,7 +7,7 @@ function(download_ncnn)
 
   # Please also change ../pack-for-embedded-systems.sh
   set(ncnn_URL  "https://github.com/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz")
-  set(ncnn_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps/resolve/main/ncnn-sherpa-1.1.tar.gz")
+  set(ncnn_URL2 "https://hub.nuaa.cf/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz")
   set(ncnn_HASH "SHA256=254aaedf8ad3e6baaa63bcd5d23e9673e3973d7cb2154c18e5c7743d45b4e160")
 
   # If you don't have access to the Internet, please download it to your

+ 1 - 1
cmake/pybind11.cmake

@@ -2,7 +2,7 @@ function(download_pybind11)
   include(FetchContent)
 
   set(pybind11_URL  "https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz")
-  set(pybind11_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps/resolve/main/pybind11-2.10.2.tar.gz")
+  set(pybind11_URL2 "https://hub.nuaa.cf/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz")
   set(pybind11_HASH "SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae")
 
   # If you don't have access to the Internet, please download it to your