Update parler_settings_page.py
This commit is contained in:
1 parent
f4590d5245
commit
97ddb39218
1 file changed
+1
-1
@@ -98,7 +98,7 @@ def parler_model_update_settings(def_character_voice_gr, def_narrator_voice_gr,
|
|||||||
def parler_model_alltalk_settings(model_config_data):
|
def parler_model_alltalk_settings(model_config_data):
|
||||||
features_list = model_config_data['model_capabilties']
|
features_list = model_config_data['model_capabilties']
|
||||||
voice_list = parler_voices_file_list()
|
voice_list = parler_voices_file_list()
|
||||||
with gr.Blocks(title="parler TTS") as app:
|
with gr.Blocks(title="parler 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