Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
41 |
-
gr.inputs.Audio(source="microphone", type="filepath", label="
|
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"),
|