Update xtts_settings_page.py

This commit is contained in:
erew123 authored and GitHub committed 2024-10-16 07:57:30 +01:00
1 parent 5ced67d5ee
commit 23d813021b
1 file changed
+2 -2
@@ -99,7 +99,7 @@ def xtts_model_update_settings(def_character_voice_gr, def_narrator_voice_gr, lo
def xtts_model_alltalk_settings(model_config_data):
features_list = model_config_data['model_capabilties']
voice_list = xtts_voices_file_list()
with gr.Blocks(title="Xtts TTS") as app:
with gr.Blocks(title="Xtts TTS", analytics_enabled=False) as app:
with gr.Tab("Default Settings"):
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"])
@@ -357,4 +357,4 @@ def xtts_at_gradio_settings_page(model_config_data):
return app
def xtts_at_gradio_settings_page(model_config_data):
app = xtts_model_alltalk_settings(model_config_data)
return app
return app