Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ def main():
|
|
7 |
asr_interface = gr.Interface(
|
8 |
fn=transcribe,
|
9 |
inputs=[
|
10 |
-
gr.Audio(
|
11 |
-
gr.Audio(
|
12 |
],
|
13 |
outputs="text",
|
14 |
title="Faroese ASR Demo",
|
@@ -26,8 +26,8 @@ def main():
|
|
26 |
lid_interface = gr.Interface(
|
27 |
fn=identify_language,
|
28 |
inputs=[
|
29 |
-
gr.Audio(
|
30 |
-
gr.Audio(
|
31 |
],
|
32 |
outputs="label",
|
33 |
title="Language Identification",
|
|
|
7 |
asr_interface = gr.Interface(
|
8 |
fn=transcribe,
|
9 |
inputs=[
|
10 |
+
gr.Audio(type="filepath", label="Microphone"),
|
11 |
+
gr.Audio(type="filepath", label="Upload")
|
12 |
],
|
13 |
outputs="text",
|
14 |
title="Faroese ASR Demo",
|
|
|
26 |
lid_interface = gr.Interface(
|
27 |
fn=identify_language,
|
28 |
inputs=[
|
29 |
+
gr.Audio(type="filepath", label="Microphone"),
|
30 |
+
gr.Audio(type="filepath", label="Upload")
|
31 |
],
|
32 |
outputs="label",
|
33 |
title="Language Identification",
|