imvladikon
commited on
Commit
•
319b1a4
1
Parent(s):
1d0b67e
Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ demo = gr.Blocks()
|
|
61 |
mf_transcribe = gr.Interface(
|
62 |
fn=transcribe,
|
63 |
inputs=[
|
64 |
-
gr.Audio(
|
65 |
-
gr.Audio(
|
66 |
],
|
67 |
outputs="text",
|
68 |
layout="horizontal",
|
|
|
61 |
mf_transcribe = gr.Interface(
|
62 |
fn=transcribe,
|
63 |
inputs=[
|
64 |
+
gr.Audio(sources=["microphone"], type="filepath", optional=True),
|
65 |
+
gr.Audio(sources=["upload"], type="filepath", optional=True),
|
66 |
],
|
67 |
outputs="text",
|
68 |
layout="horizontal",
|