Spaces:
Sleeping
Sleeping
tangjicheng
commited on
Commit
•
8e3b8f4
1
Parent(s):
e687059
modified: app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def text_to_speech(text, lang="zh"):
|
|
17 |
iface = gr.Interface(
|
18 |
fn=text_to_speech,
|
19 |
inputs=[input_text, gr.inputs.Dropdown([
|
20 |
-
"en", "
|
21 |
outputs=output_audio
|
22 |
)
|
23 |
|
|
|
17 |
iface = gr.Interface(
|
18 |
fn=text_to_speech,
|
19 |
inputs=[input_text, gr.inputs.Dropdown([
|
20 |
+
"en", "ja", "zh"], label="language", default="zh")],
|
21 |
outputs=output_audio
|
22 |
)
|
23 |
|