This commit is contained in:
unknown
2025-05-23 15:51:28 -07:00
parent d37ad4f383
commit 0f7017c7d1
4 changed files with 11 additions and 8 deletions

View File

@@ -24,6 +24,7 @@ ray
regex
translate
tqdm
suno-bark
unidic
pymupdf4llm
torch

View File

@@ -1888,13 +1888,13 @@ def web_interface(args):
with gr.Group():
gr_tts_engine_list = gr.Dropdown(label='TTS Engine', choices=tts_engine_options, type='value', interactive=True)
gr_fine_tuned_list = gr.Dropdown(label='Fine Tuned Models', choices=fine_tuned_options, type='value', interactive=True)
gr_group_custom_model = gr.Group(visible=visible_gr_group_custom_model)
with gr_group_custom_model:
gr_custom_model_file = gr.File(label=f"*Custom Model Zip File", value=None, file_types=['.zip'], height=140)
with gr.Row():
gr_custom_model_list = gr.Dropdown(label='', choices=custom_model_options, type='value', interactive=True, scale=2)
gr_custom_model_del_btn = gr.Button('🗑', elem_classes=['small-btn'], variant='secondary', interactive=True, visible=False, scale=0, min_width=60)
gr.Markdown('<p>&nbsp;&nbsp;* Optional</p>')
gr_group_custom_model = gr.Group(visible=visible_gr_group_custom_model)
with gr_group_custom_model:
gr_custom_model_file = gr.File(label=f"*Custom Model Zip File", value=None, file_types=['.zip'], height=140)
with gr.Row():
gr_custom_model_list = gr.Dropdown(label='', choices=custom_model_options, type='value', interactive=True, scale=2)
gr_custom_model_del_btn = gr.Button('🗑', elem_classes=['small-btn'], variant='secondary', interactive=True, visible=False, scale=0, min_width=60)
gr.Markdown('<p>&nbsp;&nbsp;* Optional</p>')
with gr.Group():
gr_session = gr.Textbox(label='Session', interactive=False)
gr_output_format_list = gr.Dropdown(label='Output format', choices=output_formats, type='value', value=default_output_format, interactive=True)

View File

@@ -42,7 +42,8 @@ dependencies = [
"ray",
"regex",
"translate",
"tqdm",
"tqdm",
"suno-bark",
"unidic",
"pymupdf4llm",
"torch",

View File

@@ -24,6 +24,7 @@ ray
regex
translate
tqdm
suno-bark
unidic
pymupdf4llm
torch