gobeldan commited on
Commit
17c872a
1 Parent(s): 3eeacb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ with gr.Blocks(title="Insanely Fast Whisper") as demo:
157
  gr.Dropdown(choices=["Automatic Detection"] + sorted(get_language_names()), value="Automatic Detection", label="Language", info="Select audio voice language", interactive = True,),
158
  gr.Text(label="URL", info="(YouTube, etc.)", interactive = True),
159
  gr.File(label="Upload Files", file_count="multiple"),
160
- gr.Audio(sources=["microphone"], type="filepath", label="Microphone Input", waveform_options = waveform_options),
161
  gr.Dropdown(choices=["transcribe", "translate"], label="Task", value="transcribe", interactive = True),
162
  gr.Checkbox(label='Flash',info='Use Flash Attention 2'),
163
  gr.Number(label='chunk_length_s',value=30, interactive = True),
 
157
  gr.Dropdown(choices=["Automatic Detection"] + sorted(get_language_names()), value="Automatic Detection", label="Language", info="Select audio voice language", interactive = True,),
158
  gr.Text(label="URL", info="(YouTube, etc.)", interactive = True),
159
  gr.File(label="Upload Files", file_count="multiple"),
160
+ gr.Audio(sources=["upload", "microphone",], type="filepath", label="Input", waveform_options = waveform_options),
161
  gr.Dropdown(choices=["transcribe", "translate"], label="Task", value="transcribe", interactive = True),
162
  gr.Checkbox(label='Flash',info='Use Flash Attention 2'),
163
  gr.Number(label='chunk_length_s',value=30, interactive = True),