Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ demo = gr.Blocks()
|
|
| 94 |
mf_transcribe = gr.Interface(
|
| 95 |
fn=transcribe,
|
| 96 |
inputs=[
|
| 97 |
-
gr.Audio(type="filepath"
|
| 98 |
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
| 99 |
],
|
| 100 |
outputs="text",
|
|
@@ -112,7 +112,7 @@ mf_transcribe = gr.Interface(
|
|
| 112 |
file_transcribe = gr.Interface(
|
| 113 |
fn=transcribe,
|
| 114 |
inputs=[
|
| 115 |
-
gr.Audio(type="filepath",
|
| 116 |
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
| 117 |
],
|
| 118 |
outputs="text",
|
|
|
|
| 94 |
mf_transcribe = gr.Interface(
|
| 95 |
fn=transcribe,
|
| 96 |
inputs=[
|
| 97 |
+
gr.Audio(type="filepath"),
|
| 98 |
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
| 99 |
],
|
| 100 |
outputs="text",
|
|
|
|
| 112 |
file_transcribe = gr.Interface(
|
| 113 |
fn=transcribe,
|
| 114 |
inputs=[
|
| 115 |
+
gr.Audio(type="filepath", label="Audio file"),
|
| 116 |
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
| 117 |
],
|
| 118 |
outputs="text",
|