Spaces:
Build error
Build error
Commit
·
57aeec6
1
Parent(s):
26ab82d
update gradio api names in application file
Browse files
app.py
CHANGED
|
@@ -63,12 +63,10 @@ demo = gr.Interface(
|
|
| 63 |
fn=transcribe,
|
| 64 |
inputs=[
|
| 65 |
gr.Audio(label="Audio", type="filepath"),
|
| 66 |
-
gr.
|
| 67 |
-
|
| 68 |
-
),
|
| 69 |
-
gr.inputs.Checkbox(default=False, label="Return timestamps"),
|
| 70 |
],
|
| 71 |
-
outputs=gr.Textbox(),
|
| 72 |
title="Automatic Speech Recognition",
|
| 73 |
description=(
|
| 74 |
"Transcribe or translate long-form microphone or audio inputs with the click of a button! Demo uses the"
|
|
|
|
| 63 |
fn=transcribe,
|
| 64 |
inputs=[
|
| 65 |
gr.Audio(label="Audio", type="filepath"),
|
| 66 |
+
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe"),
|
| 67 |
+
gr.Checkbox(label="Return timestamps"),
|
|
|
|
|
|
|
| 68 |
],
|
| 69 |
+
outputs=gr.Textbox(show_copy_button=True),
|
| 70 |
title="Automatic Speech Recognition",
|
| 71 |
description=(
|
| 72 |
"Transcribe or translate long-form microphone or audio inputs with the click of a button! Demo uses the"
|