Skip to content

Commit a5ccaf8

Browse files
Mingzhouming
andauthored
fix(doc): add import torch (#458)
Co-authored-by: zhouming <[email protected]>
1 parent e5764c6 commit a5ccaf8

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

docs/cn/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ python examples/cmd/run.py "Please input your text."
123123
import ChatTTS
124124
from IPython.display import Audio
125125
import torchaudio
126+
import torch
126127

127128
chat = ChatTTS.Chat()
128129
chat.load(compile=False) # Set to True for better performance

docs/es/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ python examples/cmd/run.py "Please input your text."
120120
import ChatTTS
121121
from IPython.display import Audio
122122
import torchaudio
123+
import torch
123124

124125
chat = ChatTTS.Chat()
125126
chat.load(compile=False) # Set to True for better performance

docs/jp/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ChatTTSは強力なテキストから音声へのシステムです。しかし
3434
```python
3535
import ChatTTS
3636
from IPython.display import Audio
37+
import torch
3738

3839
chat = ChatTTS.Chat()
3940
chat.load(compile=False) # より良いパフォーマンスのためにTrueに設定

docs/ru/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ChatTTS - мощная система преобразования текста
3434
```python
3535
import ChatTTS
3636
from IPython.display import Audio
37+
import torch
3738

3839
chat = ChatTTS.Chat()
3940
chat.load(compile=False) # Установите значение True для лучшей производительности

0 commit comments

Comments
 (0)