Update vits_settings_page.py
This commit is contained in:
1 parent
b19b6f9f48
commit
5ced67d5ee
1 file changed
+1
-1
@@ -132,7 +132,7 @@ def vits_model_update_settings(def_character_voice_gr, def_narrator_voice_gr, lo
|
|||||||
def vits_model_alltalk_settings(model_config_data):
|
def vits_model_alltalk_settings(model_config_data):
|
||||||
features_list = model_config_data['model_capabilties']
|
features_list = model_config_data['model_capabilties']
|
||||||
voice_list = vits_voices_file_list()
|
voice_list = vits_voices_file_list()
|
||||||
with gr.Blocks(title="vits TTS") as app:
|
with gr.Blocks(title="vits TTS", analytics_enabled=False) as app:
|
||||||
with gr.Tab("Default Settings"):
|
with gr.Tab("Default Settings"):
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
lowvram_enabled_gr = gr.Radio(choices={"Enabled": "true", "Disabled": "false"}, label="Low VRAM" if model_config_data["model_capabilties"]["lowvram_capable"] else "Low VRAM N/A", value="Enabled" if model_config_data["settings"]["lowvram_enabled"] else "Disabled", interactive=model_config_data["model_capabilties"]["lowvram_capable"])
|
lowvram_enabled_gr = gr.Radio(choices={"Enabled": "true", "Disabled": "false"}, label="Low VRAM" if model_config_data["model_capabilties"]["lowvram_capable"] else "Low VRAM N/A", value="Enabled" if model_config_data["settings"]["lowvram_enabled"] else "Disabled", interactive=model_config_data["model_capabilties"]["lowvram_capable"])
|
||||||
|
|||||||
Reference in new issue
Block a user