Spaces:
Runtime error
Runtime error
operablepattern
commited on
Commit
•
a9424ed
1
Parent(s):
ab641f0
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def greet(name):
|
|
27 |
iface = gr.Interface(
|
28 |
fn=transcribe,
|
29 |
inputs=[
|
30 |
-
gr.Audio(
|
31 |
],
|
32 |
outputs="text",
|
33 |
layout="horizontal",
|
|
|
27 |
iface = gr.Interface(
|
28 |
fn=transcribe,
|
29 |
inputs=[
|
30 |
+
gr.Audio(sources="microphone", type="filepath", optional=True),
|
31 |
],
|
32 |
outputs="text",
|
33 |
layout="horizontal",
|