jlvdoorn commited on
Commit
b277cd4
1 Parent(s): dafc021

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ def transcribe(audio):
11
 
12
  file_iface = gr.Interface(
13
  fn = transcribe,
14
- inputs = gr.Audio(source='upload', interactive=True),
15
 
16
  outputs = gr.Textbox(label='Transcription'),
17
  title = 'Whisper ATC - Large v3',
@@ -20,7 +20,7 @@ file_iface = gr.Interface(
20
 
21
  mic_iface = gr.Interface(
22
  fn = transcribe,
23
- inputs = gr.Audio(source='microphone', type='filepath'),
24
 
25
  outputs = gr.Textbox(label='Transcription'),
26
  title = 'Whisper ATC - Large v3',
 
11
 
12
  file_iface = gr.Interface(
13
  fn = transcribe,
14
+ inputs = gr.Audio(sources='upload', interactive=True),
15
 
16
  outputs = gr.Textbox(label='Transcription'),
17
  title = 'Whisper ATC - Large v3',
 
20
 
21
  mic_iface = gr.Interface(
22
  fn = transcribe,
23
+ inputs = gr.Audio(sources='microphone', type='filepath'),
24
 
25
  outputs = gr.Textbox(label='Transcription'),
26
  title = 'Whisper ATC - Large v3',