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