Spaces:
Running
Tiny Scribe UI Layout Review
Current UI Structure (as of commit c9dbd58)
Overall Layout
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Tiny Scribe β
β AI-Powered Transcript Summarization β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββ
β LEFT COLUMN (1/3) β RIGHT COLUMN (2/3) β
β β β
β [Input & Settings] β [Output Display] β
ββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββ
LEFT COLUMN (Settings & Input)
1. Global Settings Section
βββββββββββββββββββββββββββββββββββββββ
β π Global Settings β
βββββββββββββββββββββββββββββββββββββββ€
β β’ Output Language: [en / zh-TW] β
βββββββββββββββββββββββββββββββββββββββ
2. Input Content Section
βββββββββββββββββββββββββββββββββββββββ
β π₯ Input Content β
βββββββββββββββββββββββββββββββββββββββ€
β [Tabs] β
β ββ π Upload File β
β β ββ File upload component β
β ββ βοΈ Paste Text β
β ββ Textbox (10-20 lines) β
βββββββββββββββββββββββββββββββββββββββ
3. Mode Selection
βββββββββββββββββββββββββββββββββββββββ
β π― Summarization Mode β
βββββββββββββββββββββββββββββββββββββββ€
β β Standard Mode β
β β Advanced Mode (3-Model Pipeline) β
βββββββββββββββββββββββββββββββββββββββ
4A. Standard Mode Settings (visible when Standard selected)
βββββββββββββββββββββββββββββββββββββββ
β π Standard Mode β
β Single-model direct summarization β
βββββββββββββββββββββββββββββββββββββββ€
β [Nested Tabs for Model Selection] β
β ββ π€ Preset Models β
β β ββ Model Dropdown β
β β ββ Enable Reasoning Checkbox β
β ββ π§ Custom GGUF β
β ββ HF Hub Search β
β ββ File Dropdown β
β ββ Load Button β
β ββ Retry Button β
βββββββββββββββββββββββββββββββββββββββ€
β π₯οΈ Hardware Configuration β
β ββ CPU Thread Preset Dropdown β
β ββ Custom Thread Count Slider β
βββββββββββββββββββββββββββββββββββββββ€
β ποΈ Inference Parameters β
β ββ Temperature (0.0-2.0) β
β ββ Max Output Tokens (256-4096) β
β ββ Top P (0.0-1.0) β
β ββ Top K (0-100) β
βββββββββββββββββββββββββββββββββββββββ
4B. Advanced Mode Settings (visible when Advanced selected)
βββββββββββββββββββββββββββββββββββββββ
β π§ Advanced Mode (3-Model Pipeline) β
β Extraction β Deduplication β Synth β
βββββββββββββββββββββββββββββββββββββββ€
β π Stage 1: Extraction β
β ββ Extraction Model Dropdown β
β ββ Context Window Slider (2K-8K) β
β ββ Window Overlap Slider (1-5) β
β ββ Enable Reasoning Checkbox β
β ββ [Accordion] Model Details β
βββββββββββββββββββββββββββββββββββββββ€
β 𧬠Stage 2: Deduplication β
β ββ Embedding Model Dropdown β
β ββ Similarity Threshold (0.7-0.95) β
β ββ [Accordion] Model Details β
βββββββββββββββββββββββββββββββββββββββ€
β β¨ Stage 3: Synthesis β
β ββ Synthesis Model Dropdown β
β ββ Enable Reasoning Checkbox β
β ββ Max Output Tokens (512-4096) β
β ββ Temperature (0.0-2.0) β
β ββ Top P (0.0-1.0) β
β ββ Top K (0-100) β
β ββ [Accordion] Model Details β
βββββββββββββββββββββββββββββββββββββββ€
β βοΈ Global Settings β
β ββ CPU Thread Preset Dropdown β
β ββ Custom Thread Count Slider β
β ββ Enable Trace Logging Checkbox β
βββββββββββββββββββββββββββββββββββββββ
5. Debug Tools (collapsed by default)
βββββββββββββββββββββββββββββββββββββββ
β π Debug Tools [Accordion] β
β ββ System Prompt (Read-Only) β
βββββββββββββββββββββββββββββββββββββββ
6. Submit Button
βββββββββββββββββββββββββββββββββββββββ
β β¨ Generate Summary β
βββββββββββββββββββββββββββββββββββββββ
RIGHT COLUMN (Output Display)
1. Model Information Panel
βββββββββββββββββββββββββββββββββββββββ
β π Model Information β
βββββββββββββββββββββββββββββββββββββββ€
β Standard Mode: β
β β’ Shows 1 model spec β
β β
β Advanced Mode: β
β β’ Extraction Model specs β
β β’ Embedding Model specs β
β β’ Synthesis Model specs β
βββββββββββββββββββββββββββββββββββββββ
2. Model Thinking Process
βββββββββββββββββββββββββββββββββββββββ
β π§ Model Thinking Process β
βββββββββββββββββββββββββββββββββββββββ€
β (Textbox - 12-20 lines) β
β Real-time reasoning display β
β β
β [π Copy Thinking] β
βββββββββββββββββββββββββββββββββββββββ
3. Final Summary
βββββββββββββββββββββββββββββββββββββββ
β π Final Summary β
βββββββββββββββββββββββββββββββββββββββ€
β (Markdown output) β
β Summary content appears here β
β β
β (Completion metrics if Advanced) β
β β
β [π Copy Summary] [β¬οΈ Download] β
βββββββββββββββββββββββββββββββββββββββ
UI Statistics
Total UI Code: 998 lines
Components Used:
- Groups: 7
- Accordions: 4
- Tabs: 2
- Rows: 4
- Columns: 2
- Buttons: 6
- Dropdowns: 8
- Sliders: 13
- Checkboxes: 4
- Radio: 1
- Textboxes: 4
- Markdown: 6
Strengths β
Clear Two-Column Layout
- Left: Input & Settings
- Right: Output & Results
- Good separation of concerns
Single Mode Selector
- Radio button to switch between Standard/Advanced
- No redundant tab system
- Clean mode switching
Stage-Based Advanced Mode
- Clear pipeline flow: Extraction β Dedup β Synthesis
- Each stage has dedicated section
- Logical grouping of parameters
Unified Model Information
- Single panel in right column
- Shows 1 model (Standard) or 3 models (Advanced)
- Updates dynamically
Single Global Language Selector
- No duplicates
- Applies to both modes
- In Global Settings section
Mode-Specific Parameters
- Standard Mode: Simple inference params
- Advanced Mode: Stage-specific params + global settings
- No confusion about which params apply where
Potential Issues β οΈ
1. Nested Tabs in Standard Mode
Current:
Standard Mode Group
ββ Tabs (model_tabs)
ββ Preset Models
ββ Custom GGUF
Issue: Extra nesting level that might not be necessary
Suggestion: Consider using an Accordion or Radio button for model source selection instead of nested tabs
2. Inconsistent "Global Settings" Naming
Current:
- Section 1: "π Global Settings" (language selector)
- Advanced Mode: "βοΈ Global Settings" (hardware config)
Issue: Two sections with same semantic name but different content
Suggestion:
- Rename first one to "Output Settings" or "Language Settings"
- Or consolidate into one global section at top
3. Hardware Configuration Duplication
Current:
- Standard Mode has its own hardware config
- Advanced Mode has its own hardware config (in "Global Settings" subsection)
Issue: Same control duplicated across modes
Suggestion: Move to a true global section that applies to both modes (could be above mode selector)
4. Long Left Column in Advanced Mode
Current Structure:
- Stage 1: ~40 lines
- Stage 2: ~25 lines
- Stage 3: ~60 lines
- Global Settings: ~30 lines
- Total: ~155 lines of settings
Issue: Lots of scrolling required in Advanced Mode
Suggestion: Consider collapsing stages into accordions or using a more compact layout
5. Model Details Accordions in Advanced Mode
Current:
- Each stage has a collapsed "Model Details" accordion
- 3 separate accordions
Issue: Redundant with unified Model Information panel in right column
Suggestion: Remove individual accordions and rely only on unified panel in right column
6. Missing Visual Feedback for Mode Selection
Current:
- Mode radio button at top
- Settings groups show/hide based on selection
Issue: No clear visual indicator of which mode is active besides radio button
Suggestion: Add visual styling/badge to mode groups (e.g., highlighted border when active)
7. Debug Tools Position
Current:
- Located between Submit button and Output column
- In left column after all settings
Issue: Might be better positioned elsewhere or combined with other debug features
Suggestion: Move to a footer section or integrate with completion info
8. Completion Metrics Display
Current:
- Shows inside "Final Summary" section
- Below the summary text
Issue: Not clearly separated from summary content
Suggestion: Create a dedicated "Generation Metrics" section or improve visual separation
9. Input Content Position
Current:
- Near top of left column, before mode selection
Issue: Users might want to select mode first, then provide input
Suggestion: Consider moving Input Content below Mode Selection
10. Multiple Accordions in Advanced Mode
Current:
- 3 "Model Details" accordions (one per stage)
- 1 Debug Tools accordion
Issue: Too many collapsible sections might hide important information
Suggestion: Reduce accordion usage or make certain ones open by default
Recommended Improvements π―
Priority 1 (High Impact, Low Effort)
Remove Stage-Specific Model Details Accordions
- Rely only on unified Model Information panel
- Reduces clutter in left column
- Eliminates redundancy
Rename Conflicting "Global Settings"
- First section β "Output Settings"
- Advanced Mode section β "Pipeline Settings"
- Improves clarity
Add Visual Mode Indicator
- Highlight active mode group with colored border
- Add badge showing "ACTIVE" state
- Better visual feedback
Priority 2 (Medium Impact, Medium Effort)
Consolidate Hardware Configuration
- Move to single global section above mode selector
- Applies to both Standard and Advanced modes
- Reduces duplication
Simplify Standard Mode Model Selection
- Replace nested tabs with Radio buttons or Dropdown
- "Preset Models" vs "Custom GGUF" selection
- Reduces UI nesting
Improve Completion Metrics Display
- Separate section in Final Summary group
- Clear visual separator (border/background)
- More prominent typography
Priority 3 (Lower Impact, Higher Effort)
Optimize Advanced Mode Layout
- Consider using collapsible accordions for stages
- Or use a stepper/wizard UI for pipeline stages
- Reduce vertical scrolling
Reorganize Input Position
- Move Input Content below Mode Selection
- Logical flow: Mode β Settings β Input β Generate
- More intuitive workflow
Consolidate Debug Features
- Move Debug Tools to footer or separate tab
- Combine with other developer features
- Keep main UI focused on user workflow
Proposed Optimal Layout
Left Column (Top to Bottom)
1. Output Settings (language selector)
2. Hardware Configuration (global - applies to both modes)
3. Mode Selection (radio button)
4. Input Content (file upload / paste text tabs)
5. [Mode-Specific Settings - show/hide based on mode]
- Standard Mode: Model Selection (radio/dropdown) + Inference Params
- Advanced Mode: Stage 1, 2, 3 sections
6. Submit Button
Right Column (Top to Bottom)
1. Model Information (unified panel)
2. Model Thinking Process
3. Final Summary
4. Generation Metrics (separate visual section)
5. Action Buttons (Copy, Download)
Footer
Debug Tools (collapsed) + Version Info
Summary
Overall Assessment: βββββ (4/5)
The UI is well-structured with clear separation between input/settings and output. The recent refactoring improved consistency by:
- Unifying model information display
- Removing duplicate language selectors
- Organizing Advanced Mode by pipeline stages
Main Strengths:
- Clean two-column layout
- Logical stage-based organization for Advanced Mode
- Good use of show/hide for mode switching
Main Weaknesses:
- Some redundancy (hardware config, model details accordions)
- Naming conflicts ("Global Settings" used twice)
- Could reduce nesting in Standard Mode
- Long vertical scroll in Advanced Mode
Recommended Next Steps:
- Remove redundant Model Details accordions in Advanced Mode
- Consolidate hardware configuration into one global section
- Rename conflicting "Global Settings" sections
- Add visual feedback for active mode
- Consider simplifying Standard Mode model selection UI