Update app.py
Browse files
app.py
CHANGED
@@ -92,8 +92,8 @@ demo = gr.Blocks()
|
|
92 |
file_transcribe = gr.Interface(
|
93 |
fn=transcribe,
|
94 |
inputs=[
|
95 |
-
gr.
|
96 |
-
gr.
|
97 |
],
|
98 |
outputs="text",
|
99 |
layout="horizontal",
|
|
|
92 |
file_transcribe = gr.Interface(
|
93 |
fn=transcribe,
|
94 |
inputs=[
|
95 |
+
gr.Audio(),
|
96 |
+
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
97 |
],
|
98 |
outputs="text",
|
99 |
layout="horizontal",
|