Update app.py
Browse filesupdate to shan language model
app.py
CHANGED
@@ -43,7 +43,7 @@ mms_transcribe = gr.Interface(
|
|
43 |
gr.Dropdown(
|
44 |
[f"{k}: {v}" for k, v in ALL_LANGUAGES["asr"].items()],
|
45 |
label="Language",
|
46 |
-
value="shn
|
47 |
),
|
48 |
],
|
49 |
outputs="text",
|
@@ -59,7 +59,7 @@ mms_synthesize = gr.Interface(
|
|
59 |
gr.Dropdown(
|
60 |
[f"{k}: {v}" for k, v in ALL_LANGUAGES["tts"].items()],
|
61 |
label="Language",
|
62 |
-
value="shn
|
63 |
),
|
64 |
gr.Slider(minimum=0.1, maximum=4.0, value=1.0, step=0.1, label="Speed"),
|
65 |
],
|
|
|
43 |
gr.Dropdown(
|
44 |
[f"{k}: {v}" for k, v in ALL_LANGUAGES["asr"].items()],
|
45 |
label="Language",
|
46 |
+
value="shn: Shan",
|
47 |
),
|
48 |
],
|
49 |
outputs="text",
|
|
|
59 |
gr.Dropdown(
|
60 |
[f"{k}: {v}" for k, v in ALL_LANGUAGES["tts"].items()],
|
61 |
label="Language",
|
62 |
+
value="shn: Shan",
|
63 |
),
|
64 |
gr.Slider(minimum=0.1, maximum=4.0, value=1.0, step=0.1, label="Speed"),
|
65 |
],
|