Skip to content

Commit

Permalink
docs: fix not working code in inference.md
Browse files Browse the repository at this point in the history
  • Loading branch information
34j authored Sep 1, 2023
1 parent 530a893 commit 4094b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ You can run a multi-speaker and multi-lingual model in Python as
from TTS.api import TTS

# List available 🐸TTS models and choose the first one
model_name = TTS.list_models()[0]
model_name = TTS().list_models()[0]
# Init TTS
tts = TTS(model_name)
# Run TTS
Expand Down Expand Up @@ -232,4 +232,4 @@ api.tts_with_vc_to_file(
speaker_wav="target/speaker.wav",
file_path="ouptut.wav"
)
```
```

0 comments on commit 4094b3a

Please sign in to comment.