Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dujing committed Jan 23, 2024
2 parents e2dcc15 + 2314c9f commit 05d6069
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Starting from this version, the 'OpenAI-compatible-TTS API' is now accessible vi
conda create -n EmotiVoice python=3.8 -y
conda activate EmotiVoice
pip install torch torchaudio
pip install numpy numba scipy transformers soundfile yacs g2p_en jieba pypinyin
pip install numpy numba scipy transformers soundfile yacs g2p_en jieba pypinyin pypinyin_dict
```

### Prepare model files
Expand Down Expand Up @@ -120,9 +120,7 @@ streamlit run demo_page.py
Thanks to @lewangdev for adding an OpenAI compatible API [#60](../../issues/60). To set it up, use the following command:

```sh
pip install fastapi
pip install pydub
pip install uvicorn[standard]
pip install fastapi pydub uvicorn[standard] pyrubberband
uvicorn openaiapi:app --reload
```

Expand Down
6 changes: 2 additions & 4 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ docker run -dp 127.0.0.1:8501:8501 -p 127.0.0.1:8000:8000 syq163/emoti-voice:lat
conda create -n EmotiVoice python=3.8 -y
conda activate EmotiVoice
pip install torch torchaudio
pip install numpy numba scipy transformers soundfile yacs g2p_en jieba pypinyin
pip install numpy numba scipy transformers soundfile yacs g2p_en jieba pypinyin pypinyin_dict
```

### 准备模型文件
Expand Down Expand Up @@ -116,9 +116,7 @@ streamlit run demo_page.py
非常感谢 @lewangdev 的相关该工作 [#60](../../issues/60)。通过运行如下命令来完成配置:

```sh
pip install fastapi
pip install pydub
pip install uvicorn[standard]
pip install fastapi pydub uvicorn[standard] pyrubberband
uvicorn openaiapi:app --reload
```

Expand Down
6 changes: 2 additions & 4 deletions README_小白安装教程.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ git lfs clone https://github.com/netease-youdao/EmotiVoice.git

```
pip install torch torchaudio
pip install numpy numba scipy transformers==4.26.1 soundfile yacs g2p_en jieba pypinyin
pip install numpy numba scipy transformers==4.26.1 soundfile yacs g2p_en jieba pypinyin pypinyin_dict
```


Expand Down Expand Up @@ -135,9 +135,7 @@ streamlit run demo_page.py --server.port 6006 --logger.level debug
安装依赖

```
pip install fastapi
pip install pydub
pip install uvicorn[standard]
pip install fastapi pydub uvicorn[standard] pyrubberband
```

在6006端口启动服务(端口可根据自己的需求修改)
Expand Down

0 comments on commit 05d6069

Please sign in to comment.