From 49d3f3fcbc61ac8aec0612ab47f2fd7b95786875 Mon Sep 17 00:00:00 2001 From: hongzuoj-pixel Date: Tue, 9 Jun 2026 00:43:30 +0800 Subject: [PATCH] Update app.py --- gui/app.py | 561 +++++++++++++++++++++++++++-------------------------- 1 file changed, 286 insertions(+), 275 deletions(-) diff --git a/gui/app.py b/gui/app.py index 1ff89fa..b81d559 100644 --- a/gui/app.py +++ b/gui/app.py @@ -204,38 +204,72 @@ def _ensure_dirs() -> None: def _render_top_bar() -> None: st.markdown( """ -
-
-
SN
-
-
SlideNote Studio
-
Learning workspace
+
+
+ +
+
SlideNote Studio
+
AI course notes workspace
-
- lecture/local - markdown zip - study pack +
""", unsafe_allow_html=True, ) - def _render_empty_upload_panel() -> None: st.markdown( """ -
-
Start
-

Drop a PPT or PDF into the upload box.

-

Run Local preview first when checking a new install; switch to Lecture quality for final notes.

+
+
+
Local-first AI note generator
+

SlideNote
Studio

+

+ Upload lecture slides, connect optional model keys, generate structured notes, + coverage reports and shareable exports from one clean workspace. +

+
+ Upload slides below + Run local preview + Export notes +
+
+
+
+ + slidenote://course-build +
+
+
Course Intelligence
+
running
+
+
+ ParseNotesCoverExport +
+
+
+
Coverage94%
+
SN
+
+
+ $ slidenote build --preset lecture
+ ✓ source map generated
+ ✓ notes and coverage ready
+ ✓ exports packaged successfully +
+
""", unsafe_allow_html=True, ) - def _render_textbook_library() -> None: left, right = st.columns([0.36, 0.64], gap="large") with left: @@ -1283,308 +1317,285 @@ def _style() -> None: """ """, unsafe_allow_html=True, ) - -if __name__ == "__main__": - main()