nata0801 commited on
Commit
1842c19
1 Parent(s): 417f770

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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",