Update Web UI: rename option, increase title font, default identify speakers
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

- Rename 'Transcript & Summarize' to 'Transcribe & summarize'
- Increase title font size to 60px via CSS
- Set 'Identify speakers' checkbox to default selected
This commit is contained in:
admin
2026-06-15 03:02:19 +00:00
parent 46fbcf80af
commit 7ece1a50c2
+8 -2
View File
@@ -144,7 +144,7 @@ def create_app():
task_choice = gr.Radio( task_choice = gr.Radio(
choices=[ choices=[
("Transcribe", "transcribe"), ("Transcribe", "transcribe"),
("Transcript & Summarize", "transcript_and_summarize"), ("Transcribe & summarize", "transcript_and_summarize"),
], ],
value="transcribe", value="transcribe",
label="Task", label="Task",
@@ -153,7 +153,7 @@ def create_app():
identify_speakers = gr.Checkbox( identify_speakers = gr.Checkbox(
label="Identify speakers (best effort using AI)", label="Identify speakers (best effort using AI)",
value=False, value=True,
info="If enabled, AI will attempt to infer real names for speakers and replace Speaker 1/2/etc. in the transcript.", info="If enabled, AI will attempt to infer real names for speakers and replace Speaker 1/2/etc. in the transcript.",
) )
@@ -307,6 +307,12 @@ def create_app():
body {{ body {{
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
}} }}
/* Increase main title font size */
h1,
.webui-title,
.header-title {{
font-size: 60px !important;
}}
/* Mobile-friendly adjustments */ /* Mobile-friendly adjustments */
@media (max-width: 700px) {{ @media (max-width: 700px) {{
.gradio-container {{ .gradio-container {{