Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def asr_transcript(audio_file, language):
|
|
48 |
|
49 |
gr.Interface(asr_transcript,
|
50 |
inputs = [gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Please record your message/Пожалуйста, введите Ваше сообщение"),
|
51 |
-
gr.inputs.Radio(label="Pick a language/Выберите язык", choices=["English", "Russian"])
|
52 |
outputs = gr.outputs.Textbox(label="Output Text/Результат"),
|
53 |
title="Automatic speech recognition with voice recorder in Russian and English",
|
54 |
description = "This application displays transcribed text for given audio input",
|
|
|
48 |
|
49 |
gr.Interface(asr_transcript,
|
50 |
inputs = [gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Please record your message/Пожалуйста, введите Ваше сообщение"),
|
51 |
+
gr.inputs.Radio(label="Pick a language/Выберите язык", choices=["English", "Russian"])],
|
52 |
outputs = gr.outputs.Textbox(label="Output Text/Результат"),
|
53 |
title="Automatic speech recognition with voice recorder in Russian and English",
|
54 |
description = "This application displays transcribed text for given audio input",
|