Spaces:
Sleeping
Sleeping
markoffice commited on
Commit ·
8d3b90d
1
Parent(s): 1fdc632
fix app.py
Browse files
app.py
CHANGED
|
@@ -609,7 +609,7 @@ def create_ui(app_config: ApplicationConfig):
|
|
| 609 |
gr.Dropdown(choices=sorted(get_language_names()), label="Language", value=app_config.language),
|
| 610 |
gr.Text(label="URL (YouTube, etc.)"),
|
| 611 |
gr.File(label="Upload Files", file_count="multiple"),
|
| 612 |
-
gr.Audio(
|
| 613 |
gr.Dropdown(choices=["transcribe", "translate"], label="Task", value=app_config.task),
|
| 614 |
]
|
| 615 |
|
|
|
|
| 609 |
gr.Dropdown(choices=sorted(get_language_names()), label="Language", value=app_config.language),
|
| 610 |
gr.Text(label="URL (YouTube, etc.)"),
|
| 611 |
gr.File(label="Upload Files", file_count="multiple"),
|
| 612 |
+
gr.Audio(type="filepath", label="Microphone Input"),
|
| 613 |
gr.Dropdown(choices=["transcribe", "translate"], label="Task", value=app_config.task),
|
| 614 |
]
|
| 615 |
|