mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-10 06:18:02 -05:00
...
This commit is contained in:
@@ -24,6 +24,7 @@ ray
|
||||
regex
|
||||
translate
|
||||
tqdm
|
||||
suno-bark
|
||||
unidic
|
||||
pymupdf4llm
|
||||
torch
|
||||
|
||||
@@ -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> * 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> * 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)
|
||||
|
||||
@@ -42,7 +42,8 @@ dependencies = [
|
||||
"ray",
|
||||
"regex",
|
||||
"translate",
|
||||
"tqdm",
|
||||
"tqdm",
|
||||
"suno-bark",
|
||||
"unidic",
|
||||
"pymupdf4llm",
|
||||
"torch",
|
||||
|
||||
@@ -24,6 +24,7 @@ ray
|
||||
regex
|
||||
translate
|
||||
tqdm
|
||||
suno-bark
|
||||
unidic
|
||||
pymupdf4llm
|
||||
torch
|
||||
|
||||
Reference in New Issue
Block a user