Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ def create_ui(inputAudioMaxDuration, share=False, server_name: str = None):
|
|
221 |
ui_article = "Read the [documentation here](https://huggingface.co/spaces/aadnk/whisper-webui/blob/main/docs/options.md)"
|
222 |
|
223 |
demo = gr.Interface(fn=ui.transcribe_webui, description=ui_description, article=ui_article, inputs=[
|
224 |
-
gr.Dropdown(choices=["medium.en", "large"], value="medium.en", label="Model"),
|
225 |
gr.Dropdown(choices=sorted(LANGUAGES), value="Portuguese",label="Language"),
|
226 |
gr.Text(label="URL (YouTube, etc.)"),
|
227 |
gr.Audio(source="upload", type="filepath", label="Upload Audio"),
|
|
|
221 |
ui_article = "Read the [documentation here](https://huggingface.co/spaces/aadnk/whisper-webui/blob/main/docs/options.md)"
|
222 |
|
223 |
demo = gr.Interface(fn=ui.transcribe_webui, description=ui_description, article=ui_article, inputs=[
|
224 |
+
gr.Dropdown(choices=["medium","medium.en", "large"], value="medium.en", label="Model"),
|
225 |
gr.Dropdown(choices=sorted(LANGUAGES), value="Portuguese",label="Language"),
|
226 |
gr.Text(label="URL (YouTube, etc.)"),
|
227 |
gr.Audio(source="upload", type="filepath", label="Upload Audio"),
|