We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3b9e4d commit 12bccfcCopy full SHA for 12bccfc
1 file changed
tabs/tts/tts.py
@@ -19,6 +19,7 @@
19
filter_dropdowns,
20
get_files,
21
get_speakers_id,
22
+ index_files,
23
match_index,
24
refresh_embedders_folders,
25
update_filter_visibility,
@@ -72,7 +73,9 @@ def tts_tab():
72
73
index_file = gr.Dropdown(
74
label=i18n("Index File"),
75
info=i18n("Select the index file to use for the conversion."),
- choices=sorted(get_files("index")),
76
+ choices=[("No Index", "")] + [(x, x) for x in index_files]
77
+ if index_files
78
+ else [],
79
value=match_index(default_weight),
80
interactive=True,
81
allow_custom_value=True,
0 commit comments