Skip to content

Commit

Permalink
fix(doc): add import torch (#458)
Browse files Browse the repository at this point in the history
Co-authored-by: zhouming <[email protected]>
  • Loading branch information
Ming-Zhou0201 and zhouming authored Jun 26, 2024
1 parent e5764c6 commit a5ccaf8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/cn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ python examples/cmd/run.py "Please input your text."
import ChatTTS
from IPython.display import Audio
import torchaudio
import torch

chat = ChatTTS.Chat()
chat.load(compile=False) # Set to True for better performance
Expand Down
1 change: 1 addition & 0 deletions docs/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ python examples/cmd/run.py "Please input your text."
import ChatTTS
from IPython.display import Audio
import torchaudio
import torch

chat = ChatTTS.Chat()
chat.load(compile=False) # Set to True for better performance
Expand Down
1 change: 1 addition & 0 deletions docs/jp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ChatTTSは強力なテキストから音声へのシステムです。しかし
```python
import ChatTTS
from IPython.display import Audio
import torch

chat = ChatTTS.Chat()
chat.load(compile=False) # より良いパフォーマンスのためにTrueに設定
Expand Down
1 change: 1 addition & 0 deletions docs/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ChatTTS - мощная система преобразования текста
```python
import ChatTTS
from IPython.display import Audio
import torch

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

0 comments on commit a5ccaf8

Please sign in to comment.