Spaces:
Runtime error
Runtime error
jiaofengxu
commited on
Commit
Β·
bd84b6c
1
Parent(s):
a3912e0
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def transcribe_audio(mic=None, file=None):
|
|
| 19 |
gr.Interface(
|
| 20 |
fn=transcribe_audio,
|
| 21 |
inputs=[
|
| 22 |
-
gr.Audio(sources="microphone", type="
|
| 23 |
gr.Audio(sources="upload", type="filepath"),
|
| 24 |
],
|
| 25 |
outputs="text",
|
|
|
|
| 19 |
gr.Interface(
|
| 20 |
fn=transcribe_audio,
|
| 21 |
inputs=[
|
| 22 |
+
gr.Audio(sources="microphone", type="filepath"),
|
| 23 |
gr.Audio(sources="upload", type="filepath"),
|
| 24 |
],
|
| 25 |
outputs="text",
|