awacke1 commited on
Commit
738fe1e
1 Parent(s): f305e4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -126,7 +126,8 @@ gr.Interface(
126
  run,
127
  inputs=[
128
  #gr.inputs.Audio(source="microphone", type="filepath", label="Record something..."),
129
- gr.inputs.Audio(source="microphone", type="filepath", label="Record something...", streaming="True"),
 
130
  gr.inputs.Radio(label="Language", choices=LANGUAGES),
131
  gr.inputs.Radio(label="Decoding type", choices=["greedy", "LM"]),
132
  # gr.inputs.Radio(label="Model size", choices=["300M", "1B"]),
 
126
  run,
127
  inputs=[
128
  #gr.inputs.Audio(source="microphone", type="filepath", label="Record something..."),
129
+ gr.Audio(source="microphone", type='filepath', streaming=True),
130
+ #gr.inputs.Audio(source="microphone", type="filepath", label="Record something...", streaming="True"),
131
  gr.inputs.Radio(label="Language", choices=LANGUAGES),
132
  gr.inputs.Radio(label="Decoding type", choices=["greedy", "LM"]),
133
  # gr.inputs.Radio(label="Model size", choices=["300M", "1B"]),