Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from lid import identify_language
|
|
6 |
def main():
|
7 |
asr_interface = gr.Interface(
|
8 |
fn=transcribe,
|
9 |
-
inputs=gr.Audio(
|
10 |
outputs="text",
|
11 |
title="Faroese ASR Demo",
|
12 |
description="Automatic Speech Recognition for Faroese"
|
@@ -22,7 +22,7 @@ def main():
|
|
22 |
|
23 |
lid_interface = gr.Interface(
|
24 |
fn=identify_language,
|
25 |
-
inputs=gr.Audio(
|
26 |
outputs="label",
|
27 |
title="Language Identification",
|
28 |
description="Identify the language of the spoken input"
|
|
|
6 |
def main():
|
7 |
asr_interface = gr.Interface(
|
8 |
fn=transcribe,
|
9 |
+
inputs=gr.Audio(type="filepath"),
|
10 |
outputs="text",
|
11 |
title="Faroese ASR Demo",
|
12 |
description="Automatic Speech Recognition for Faroese"
|
|
|
22 |
|
23 |
lid_interface = gr.Interface(
|
24 |
fn=identify_language,
|
25 |
+
inputs=gr.Audio(type="filepath"),
|
26 |
outputs="label",
|
27 |
title="Language Identification",
|
28 |
description="Identify the language of the spoken input"
|