pgilles commited on
Commit
3f8c56d
·
1 Parent(s): dba4263

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ def asr_pipe(input_file, input_file_microphone, chunks):
37
 
38
  gr.Interface(fn = asr_pipe,
39
  inputs = [
40
- gr.inputs.Audio(source="upload", type='filepath', label="Load your own file...", optional = True),
41
- gr.inputs.Audio(source="microphone", type="filepath", label="Record from microphone", optional = True),
42
  gr.Slider(minimum=3, maximum=32, value=29, step=0.5, label="Chunk Length")
43
  ],
44
  outputs = gr.outputs.Textbox(label="Erkannten Text"),
 
37
 
38
  gr.Interface(fn = asr_pipe,
39
  inputs = [
40
+ gr.inputs.Audio(source="upload", type='filepath', label="Eng Audio-Datei eroplueden...", optional = True),
41
+ gr.inputs.Audio(source="microphone", type="filepath", label="... oder direkt mam Mikro ophuelen", optional = True),
42
  gr.Slider(minimum=3, maximum=32, value=29, step=0.5, label="Chunk Length")
43
  ],
44
  outputs = gr.outputs.Textbox(label="Erkannten Text"),