Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ mic_transcribe = gr.Interface(
|
|
56 |
fn=transcribe,
|
57 |
inputs=[
|
58 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
59 |
-
gr.inputs.Radio(["transcribe"], label="Task", default="transcribe"),
|
60 |
gr.inputs.Checkbox(default=False, label="Return timestamps"),
|
61 |
],
|
62 |
outputs="text",
|
|
|
56 |
fn=transcribe,
|
57 |
inputs=[
|
58 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
59 |
+
gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
60 |
gr.inputs.Checkbox(default=False, label="Return timestamps"),
|
61 |
],
|
62 |
outputs="text",
|