Spaces:
Running
Running
Fixed load_voice
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import IPython
|
|
6 |
import base64
|
7 |
|
8 |
from tortoise.api import TextToSpeech
|
9 |
-
from tortoise.utils.audio import load_voice,
|
10 |
|
11 |
# Initialize TextToSpeech model
|
12 |
tts = TextToSpeech()
|
|
|
6 |
import base64
|
7 |
|
8 |
from tortoise.api import TextToSpeech
|
9 |
+
from tortoise.utils.audio import load_voice, load_voices
|
10 |
|
11 |
# Initialize TextToSpeech model
|
12 |
tts = TextToSpeech()
|