unijoh commited on
Commit
02dba76
1 Parent(s): 582878b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(source="microphone", type="filepath", label=None),
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(source="microphone", type="filepath", label=None),
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(source="microphone", 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(source="microphone", type="filepath"),
26
  outputs="label",
27
  title="Language Identification",
28
  description="Identify the language of the spoken input"