Chris Bracegirdle
commited on
Commit
•
7f58b08
1
Parent(s):
32fff0c
Try again
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ demo = gr.Blocks()
|
|
43 |
file_transcribe = gr.Interface(
|
44 |
fn=transcribe,
|
45 |
inputs=[
|
46 |
-
gr.Audio(
|
47 |
-
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
48 |
],
|
49 |
outputs="text",
|
50 |
layout="horizontal",
|
|
|
43 |
file_transcribe = gr.Interface(
|
44 |
fn=transcribe,
|
45 |
inputs=[
|
46 |
+
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
47 |
+
# gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
48 |
],
|
49 |
outputs="text",
|
50 |
layout="horizontal",
|