feat: Add new UI tabs for novel creation and continuation.

This commit is contained in:
tinix-ai
2026-03-17 15:32:20 +07:00
parent a40d8ef4a6
commit 1519a172b8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ def build_continue_tab():
with gr.Column(scale=1):
continue_status = gr.Textbox(label=t("continue_tab.gen_status"), interactive=False, lines=15)
with gr.Column(scale=2):
continue_chapter_selector = gr.Dropdown(label="Danh sách chương đã tạo", choices=[], interactive=True)
continue_chapter_selector = gr.Dropdown(label="Danh sách chương đã tạo", choices=[], interactive=True, allow_custom_value=True)
continue_content_display = gr.Textbox(label="Nội dung chương", lines=15, interactive=False)
def on_refresh_continue(current_title):
+1 -1
View File
@@ -123,7 +123,7 @@ def build_create_tab():
with gr.Column(scale=1):
generation_progress = gr.Textbox(label=t("create.gen_status"), lines=15, interactive=False)
with gr.Column(scale=2):
chapter_selector = gr.Dropdown(label="Danh sách chương đã tạo", choices=[], interactive=True)
chapter_selector = gr.Dropdown(label="Danh sách chương đã tạo", choices=[], interactive=True, allow_custom_value=True)
chapter_content_display = gr.Textbox(label="Nội dung chương", lines=15, interactive=False)
def on_suggest_title(genre, sub_genres, custom_prompt):