Spaces:
Sleeping
Sleeping
Tal
commited on
Commit
·
b495876
1
Parent(s):
ccd704d
change label to finnish
Browse files
app.py
CHANGED
@@ -73,15 +73,15 @@ def srt_to_speech(srt_file, language_code, voice_name, gender):
|
|
73 |
iface = gr.Interface(
|
74 |
fn=srt_to_speech,
|
75 |
inputs=[
|
76 |
-
gr.File(label="
|
77 |
gr.Dropdown(["fi-FI", "en-US"], label="语言代码", value="fi-FI"),
|
78 |
gr.Dropdown(["fi-FI-Standard-A", "fi-FI-Wavenet-A", "en-US-Standard-A"],
|
79 |
-
label="
|
80 |
-
gr.Dropdown(["FEMALE", "MALE", "NEUTRAL"], label="
|
81 |
],
|
82 |
-
outputs=gr.Audio(label="
|
83 |
-
title="SRT
|
84 |
-
description="
|
85 |
)
|
86 |
|
87 |
if __name__ == "__main__":
|
|
|
73 |
iface = gr.Interface(
|
74 |
fn=srt_to_speech,
|
75 |
inputs=[
|
76 |
+
gr.File(label="Lataa SRT/tiedosto"),
|
77 |
gr.Dropdown(["fi-FI", "en-US"], label="语言代码", value="fi-FI"),
|
78 |
gr.Dropdown(["fi-FI-Standard-A", "fi-FI-Wavenet-A", "en-US-Standard-A"],
|
79 |
+
label="Äänen nimi", value="fi-FI-Standard-A"),
|
80 |
+
gr.Dropdown(["FEMALE", "MALE", "NEUTRAL"], label="Sukupoli", value="FEMALE")
|
81 |
],
|
82 |
+
outputs=gr.Audio(label="Luotu äänitetty tekstitys"),
|
83 |
+
title="SRT-äänityökalu",
|
84 |
+
description="Lataa SRT-tekstitystiedosto ja luo äänitetty versio ajoituksella"
|
85 |
)
|
86 |
|
87 |
if __name__ == "__main__":
|