Spaces:
Runtime error
Runtime error
Commit
·
d64b3b1
1
Parent(s):
fda40b2
gr error fixed
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ demo = gr.Blocks()
|
|
124 |
mf_transcribe = gr.Interface(
|
125 |
fn=transcribe,
|
126 |
inputs=[
|
127 |
-
gr.
|
128 |
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
129 |
gr.inputs.Checkbox(label="Return timestamps"),
|
130 |
gr.inputs.Dropdown(choices=["English", "Uzbek"], label="Language"),
|
|
|
124 |
mf_transcribe = gr.Interface(
|
125 |
fn=transcribe,
|
126 |
inputs=[
|
127 |
+
gr.Audio(source="microphone", type="filepath", optional=True),
|
128 |
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
129 |
gr.inputs.Checkbox(label="Return timestamps"),
|
130 |
gr.inputs.Dropdown(choices=["English", "Uzbek"], label="Language"),
|