Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ mf_transcribe = gr.Interface(
|
|
65 |
)
|
66 |
|
67 |
file_transcribe = gr.Interface(
|
68 |
-
fn=
|
69 |
inputs=[
|
70 |
gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
|
71 |
gr.inputs.Radio(["translate"], label="Task", default="transcribe"),
|
@@ -73,7 +73,7 @@ file_transcribe = gr.Interface(
|
|
73 |
outputs="text",
|
74 |
layout="horizontal",
|
75 |
theme="huggingface",
|
76 |
-
title="Whisper
|
77 |
description=(
|
78 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|
79 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
|
|
|
65 |
)
|
66 |
|
67 |
file_transcribe = gr.Interface(
|
68 |
+
fn=translate,
|
69 |
inputs=[
|
70 |
gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
|
71 |
gr.inputs.Radio(["translate"], label="Task", default="transcribe"),
|
|
|
73 |
outputs="text",
|
74 |
layout="horizontal",
|
75 |
theme="huggingface",
|
76 |
+
title="Whisper Medium: Transcribe Audio",
|
77 |
description=(
|
78 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|
79 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
|