Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ with gr.Blocks(title="Fast Whisper WebUI") as demo:
|
|
138 |
gr.Dropdown(choices=["Automatic Detection"] + sorted(get_language_names()), value="Automatic Detection", label="Language", info="Select audio voice language", interactive = True,),
|
139 |
gr.Text(label="URL", info="(YouTube, etc.)", interactive = True),
|
140 |
gr.File(label="Upload Files", file_count="multiple"),
|
141 |
-
gr.Audio(sources=["microphone"], type="filepath", label="
|
142 |
|
143 |
gr.Dropdown(choices=["transcribe", "translate"], label="Task", value="transcribe", interactive = True),
|
144 |
gr.Number(label='chunk_length',value=30, interactive = True),
|
|
|
138 |
gr.Dropdown(choices=["Automatic Detection"] + sorted(get_language_names()), value="Automatic Detection", label="Language", info="Select audio voice language", interactive = True,),
|
139 |
gr.Text(label="URL", info="(YouTube, etc.)", interactive = True),
|
140 |
gr.File(label="Upload Files", file_count="multiple"),
|
141 |
+
gr.Audio(sources=["upload", "microphone"], type="filepath", label="Input Audio"),
|
142 |
|
143 |
gr.Dropdown(choices=["transcribe", "translate"], label="Task", value="transcribe", interactive = True),
|
144 |
gr.Number(label='chunk_length',value=30, interactive = True),
|