Spaces:
Running
Running
Olivier-Truong
commited on
Commit
•
068b0d5
1
Parent(s):
0d587e1
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ demo = gr.Blocks()
|
|
93 |
mf_transcribe = gr.Interface(
|
94 |
fn=transcribe,
|
95 |
inputs=[
|
96 |
-
gr.
|
97 |
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
98 |
],
|
99 |
outputs="text",
|
|
|
93 |
mf_transcribe = gr.Interface(
|
94 |
fn=transcribe,
|
95 |
inputs=[
|
96 |
+
gr.Audio(sources=["microphone"], type="filepath", optional=True),
|
97 |
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
98 |
],
|
99 |
outputs="text",
|