Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def generate_audio(script, voice_id, tone):
|
|
93 |
app.config['TTS_API_URL'],
|
94 |
json={
|
95 |
"text": script,
|
96 |
-
"
|
97 |
"tone": tone,
|
98 |
"language": "tamil"
|
99 |
},
|
|
|
93 |
app.config['TTS_API_URL'],
|
94 |
json={
|
95 |
"text": script,
|
96 |
+
"voice": voice_id,
|
97 |
"tone": tone,
|
98 |
"language": "tamil"
|
99 |
},
|