Stereo0001 commited on
Commit
9427c79
·
1 Parent(s): 1d8831d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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 = tts_order_voice
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