Spaces:
Sleeping
Sleeping
ITS-C4SF733\Administrator
commited on
Commit
·
f33a9cb
1
Parent(s):
277d392
fix bug
Browse files
app.py
CHANGED
@@ -387,7 +387,7 @@ def main():
|
|
387 |
language_dropdown_4 = gr.Dropdown(choices=language_options,
|
388 |
value='auto-detect',
|
389 |
label='language')
|
390 |
-
accent_dropdown_4 = gr.Dropdown(choices=
|
391 |
value='no-accent',
|
392 |
label='accent')
|
393 |
|
|
|
387 |
language_dropdown_4 = gr.Dropdown(choices=language_options,
|
388 |
value='auto-detect',
|
389 |
label='language')
|
390 |
+
accent_dropdown_4 = gr.Dropdown(choices=accent_options,
|
391 |
value='no-accent',
|
392 |
label='accent')
|
393 |
|
macros.py
CHANGED
@@ -48,4 +48,5 @@ langdropdown2token = {
|
|
48 |
'Mix': "",
|
49 |
}
|
50 |
|
51 |
-
language_options = ['
|
|
|
|
48 |
'Mix': "",
|
49 |
}
|
50 |
|
51 |
+
language_options = ['auto-detect', 'English', 'Chinese', 'Japanese', 'Vietnamese']
|
52 |
+
accent_options = ['no-accent', 'English', 'Chinese', 'Japanese', 'Vietnamese']
|