Spaces:
Sleeping
Sleeping
Commit
·
9427c79
1
Parent(s):
1d8831d
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
|
2 |
-
from tts_voice import tts_order_voice
|
3 |
import edge_tts
|
4 |
import gradio as gr
|
5 |
import tempfile
|
6 |
import anyio
|
7 |
|
8 |
-
language_dict =
|
9 |
-
|
10 |
-
print(language_dict )
|
11 |
|
12 |
async def text_to_speech_edge(text, language_code):
|
13 |
|
|
|
1 |
|
2 |
+
#from tts_voice import tts_order_voice
|
3 |
import edge_tts
|
4 |
import gradio as gr
|
5 |
import tempfile
|
6 |
import anyio
|
7 |
|
8 |
+
language_dict = {'普通话 (中国大陆)-Yunxi-男': 'zh-CN-YunxiNeural','普通话 (中国大陆)-Xiaoyi-女': 'zh-CN-XiaoyiNeural'}
|
|
|
|
|
9 |
|
10 |
async def text_to_speech_edge(text, language_code):
|
11 |
|