vineelpratap
commited on
Commit
•
b270d98
1
Parent(s):
2095b59
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ mms_transcribe = gr.Interface(
|
|
18 |
# gr.Checkbox(label="Use Language Model (if available)", default=True),
|
19 |
],
|
20 |
outputs="text",
|
21 |
-
examples=ASR_EXAMPLES,
|
22 |
title="Speech-to-text",
|
23 |
description=(
|
24 |
"Transcribe audio from a microphone or input file in your desired language."
|
@@ -42,7 +42,7 @@ mms_synthesize = gr.Interface(
|
|
42 |
gr.Audio(label="Generated Audio", type="numpy"),
|
43 |
gr.Text(label="Filtered text after removing OOVs"),
|
44 |
],
|
45 |
-
examples=TTS_EXAMPLES,
|
46 |
title="Text-to-speech",
|
47 |
description=("Generate audio in your desired language from input text."),
|
48 |
allow_flagging="never",
|
@@ -54,7 +54,7 @@ mms_identify = gr.Interface(
|
|
54 |
gr.Audio(),
|
55 |
],
|
56 |
outputs=gr.Label(num_top_classes=10),
|
57 |
-
examples=LID_EXAMPLES,
|
58 |
title="Language Identification",
|
59 |
description=("Identity the language of input audio."),
|
60 |
allow_flagging="never",
|
|
|
18 |
# gr.Checkbox(label="Use Language Model (if available)", default=True),
|
19 |
],
|
20 |
outputs="text",
|
21 |
+
examples=gr.Examples(ASR_EXAMPLES),
|
22 |
title="Speech-to-text",
|
23 |
description=(
|
24 |
"Transcribe audio from a microphone or input file in your desired language."
|
|
|
42 |
gr.Audio(label="Generated Audio", type="numpy"),
|
43 |
gr.Text(label="Filtered text after removing OOVs"),
|
44 |
],
|
45 |
+
examples=gr.Examples(TTS_EXAMPLES),
|
46 |
title="Text-to-speech",
|
47 |
description=("Generate audio in your desired language from input text."),
|
48 |
allow_flagging="never",
|
|
|
54 |
gr.Audio(),
|
55 |
],
|
56 |
outputs=gr.Label(num_top_classes=10),
|
57 |
+
examples=gr.Examples(LID_EXAMPLES),
|
58 |
title="Language Identification",
|
59 |
description=("Identity the language of input audio."),
|
60 |
allow_flagging="never",
|