Spaces:
Running
Running
Olivier-Truong
commited on
Commit
•
0d587e1
1
Parent(s):
b7ddae0
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.inputs.Audio(
|
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.inputs.Audio(sources=["microphone"], type="filepath", optional=True),
|
97 |
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
98 |
],
|
99 |
outputs="text",
|