Skip to content

Commit 4c00ac7

Browse files
authored
Download dependencies using GitHub mirrow from China instead of Huggingface. (#297)
1 parent 7cc031d commit 4c00ac7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmake/kaldi-native-fbank.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function(download_kaldi_native_fbank)
33

44
# Please also change ../pack-for-embedded-systems.sh
55
set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz")
6-
set(kaldi_native_fbank_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps /resolve/main/kaldi-native-fbank-1.18.6.tar.gz")
6+
set(kaldi_native_fbank_URL2 "https://hub.nuaa.cf/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.6.tar.gz")
77
set(kaldi_native_fbank_HASH "SHA256=6202a00cd06ba8ff89beb7b6f85cda34e073e94f25fc29e37c519bff0706bf19")
88

99
# If you don't have access to the Internet, please download it to your

cmake/ncnn.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function(download_ncnn)
77

88
# Please also change ../pack-for-embedded-systems.sh
99
set(ncnn_URL "https://github.com/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz")
10-
set(ncnn_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps/resolve/main/ncnn-sherpa-1.1.tar.gz")
10+
set(ncnn_URL2 "https://hub.nuaa.cf/csukuangfj/ncnn/archive/refs/tags/sherpa-1.1.tar.gz")
1111
set(ncnn_HASH "SHA256=254aaedf8ad3e6baaa63bcd5d23e9673e3973d7cb2154c18e5c7743d45b4e160")
1212

1313
# If you don't have access to the Internet, please download it to your

cmake/pybind11.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function(download_pybind11)
22
include(FetchContent)
33

44
set(pybind11_URL "https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz")
5-
set(pybind11_URL2 "https://huggingface.co/csukuangfj/sherpa-ncnn-cmake-deps/resolve/main/pybind11-2.10.2.tar.gz")
5+
set(pybind11_URL2 "https://hub.nuaa.cf/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz")
66
set(pybind11_HASH "SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae")
77

88
# If you don't have access to the Internet, please download it to your

0 commit comments

Comments
 (0)