Spaces:
Running
Running
Pranjal12345
commited on
Commit
•
9decc3e
1
Parent(s):
5c37c79
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from tortoise.utils.audio import load_voice, load_voices
|
|
6 |
tts = TextToSpeech(kv_cache=True, use_deepspeed=True, half=True)
|
7 |
|
8 |
languages = ['Male', 'Female']
|
9 |
-
voices = {'Male': ['deniro', 'freeman'], 'Female': ['emma', 'angie'
|
10 |
|
11 |
def inference(text, Gender, voice, Emotion, Preset):
|
12 |
texts = [text]
|
|
|
6 |
tts = TextToSpeech(kv_cache=True, use_deepspeed=True, half=True)
|
7 |
|
8 |
languages = ['Male', 'Female']
|
9 |
+
voices = {'Male': ['deniro', 'freeman'], 'Female': ['emma', 'angie']}
|
10 |
|
11 |
def inference(text, Gender, voice, Emotion, Preset):
|
12 |
texts = [text]
|