This commit is contained in:
mrq 2023-04-13 03:14:06 +00:00
parent 8f3e9447ba
commit 02beb1dd8e
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,6 @@ try:
VALLE_ENABLED = True
except Exception as e:
print(e)
pass
if VALLE_ENABLED:

View File

@ -656,7 +656,8 @@ def setup_gradio():
EXEC_SETTINGS['results_folder'] = gr.Textbox(label="Results Folder", value=args.results_folder)
# EXEC_SETTINGS['tts_backend'] = gr.Dropdown(TTSES, label="TTS Backend", value=args.tts_backend if args.tts_backend else TTSES[0])
with gr.Column(visible=args.tts_backend=="vall-e"):
if args.tts_backend=="vall-e":
with gr.Column():
EXEC_SETTINGS['valle_model'] = gr.Dropdown(choices=valle_models, label="VALL-E Model Config", value=args.valle_model if args.valle_model else valle_models[0])
with gr.Column(visible=args.tts_backend=="tortoise"):