Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ def transcribe(audio_path : str) -> str:
|
|
12 |
|
13 |
demo = gr.Interface(
|
14 |
fn=transcribe,
|
15 |
-
inputs="microphone"
|
16 |
-
inputs=gr.inputs.Audio(label="Upload audio file", type="filepath")
|
17 |
outputs="text"
|
18 |
)
|
19 |
|
|
|
12 |
|
13 |
demo = gr.Interface(
|
14 |
fn=transcribe,
|
15 |
+
inputs="microphone",
|
16 |
+
inputs=gr.inputs.Audio(label="Upload audio file", type="filepath"),
|
17 |
outputs="text"
|
18 |
)
|
19 |
|