diff --git a/README.md b/README.md index 7b6ac1627..af38341b1 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,9 @@ For the release notes, please ref to [news](https://github.com/alibaba-damo-acad Install from pip ```shell -pip install -U funasr -i https://pypi.Python.org/simple +pip install -U funasr +# For the users in China, you could install with the command: +# pip install -U funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple ``` Or install from source code @@ -39,6 +41,9 @@ Or install from source code ``` sh git clone https://github.com/alibaba/FunASR.git && cd FunASR pip install -e ./ +# For the users in China, you could install with the command: +# pip install -e ./ -i https://mirror.sjtu.edu.cn/pypi/web/simple + ``` If you want to use the pretrained models in ModelScope, you should install the modelscope: @@ -50,8 +55,10 @@ pip install -U modelscope For more details, please ref to [installation](https://github.com/alibaba-damo-academy/FunASR/wiki) -## Usage -For users who are new to FunASR and ModelScope, please refer to FunASR Docs([CN](https://alibaba-damo-academy.github.io/FunASR/cn/index.html) / [EN](https://alibaba-damo-academy.github.io/FunASR/en/index.html)) +[//]: # () +[//]: # (## Usage) + +[//]: # (For users who are new to FunASR and ModelScope, please refer to FunASR Docs([CN](https://alibaba-damo-academy.github.io/FunASR/cn/index.html) / [EN](https://alibaba-damo-academy.github.io/FunASR/en/index.html))) ## Contact diff --git a/funasr/export/README.md b/funasr/export/README.md index 97a3de94e..4d09ff8e0 100644 --- a/funasr/export/README.md +++ b/funasr/export/README.md @@ -7,7 +7,7 @@ ## Install modelscope and funasr -The installation is the same as [funasr](../../README.md) +The installation is the same as [funasr](https://github.com/alibaba-damo-academy/FunASR/blob/main/README.md#installation) ## Export model `Tips`: torch>=1.11.0 diff --git a/funasr/runtime/python/libtorch/README.md b/funasr/runtime/python/libtorch/README.md index c24df15d8..27b5f86cb 100644 --- a/funasr/runtime/python/libtorch/README.md +++ b/funasr/runtime/python/libtorch/README.md @@ -23,7 +23,10 @@ install from pip ```shell - pip install -U funasr_torch -i https://pypi.Python.org/simple + pip install -U funasr_torch + # For the users in China, you could install with the command: + # pip install -U funasr_torch -i https://mirror.sjtu.edu.cn/pypi/web/simple + ``` or install from source code @@ -31,6 +34,9 @@ git clone https://github.com/alibaba/FunASR.git && cd FunASR cd funasr/runtime/python/libtorch pip install -e ./ + # For the users in China, you could install with the command: + # pip install -e ./ -i https://mirror.sjtu.edu.cn/pypi/web/simple + ``` 3. Run the demo. diff --git a/funasr/runtime/python/onnxruntime/README.md b/funasr/runtime/python/onnxruntime/README.md index 400e5a63d..87510fad4 100644 --- a/funasr/runtime/python/onnxruntime/README.md +++ b/funasr/runtime/python/onnxruntime/README.md @@ -21,7 +21,10 @@ install from pip ```shell -pip install -U funasr_onnx -i https://pypi.Python.org/simple +pip install -U funasr_onnx +# For the users in China, you could install with the command: +# pip install -U funasr_onnx -i https://mirror.sjtu.edu.cn/pypi/web/simple + ``` or install from source code @@ -30,6 +33,9 @@ or install from source code git clone https://github.com/alibaba/FunASR.git && cd FunASR cd funasr/runtime/python/onnxruntime pip install -e ./ +# For the users in China, you could install with the command: +# pip install -e ./ -i https://mirror.sjtu.edu.cn/pypi/web/simple + ``` 3. Run the demo.