Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def transcribe(audio):
|
|
11 |
|
12 |
file_iface = gr.Interface(
|
13 |
fn = transcribe,
|
14 |
-
inputs = gr.Audio(
|
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(
|
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',
|