Spaces:
Runtime error
Runtime error
Commit
·
0952397
1
Parent(s):
8eca13f
Text2sound 2
Browse files
app.py
CHANGED
@@ -244,9 +244,9 @@ def get_azure_access_token():
|
|
244 |
return response.text
|
245 |
|
246 |
|
247 |
-
def text_to_speech_2(text
|
248 |
access_token = get_azure_access_token()
|
249 |
-
|
250 |
if not access_token:
|
251 |
return None
|
252 |
|
|
|
244 |
return response.text
|
245 |
|
246 |
|
247 |
+
def text_to_speech_2(text):
|
248 |
access_token = get_azure_access_token()
|
249 |
+
voice_name='en-US-AriaNeural'
|
250 |
if not access_token:
|
251 |
return None
|
252 |
|