From 681dc668d4f26e61f559daf0228f5eb4bbd0b6fa Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 18 Jan 2026 21:31:51 +0100 Subject: [PATCH] Update app.py --- app.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 5094aff..e0d22d7 100644 --- a/app.py +++ b/app.py @@ -32,9 +32,10 @@ if not profiles: # --- SIDEBAR --- with st.sidebar: - st.title("⭐ Workspaces") - selected_profile = st.selectbox("Active Workspace", list(profiles.keys()), key="active_profile") - p_data = profiles.get(selected_profile, {}) + st.divider() + with st.expander("🔍 Path Debugger"): + st.write(f"**Active Workspace:** {selected_profile}") + st.json(p_data) # Shows exactly what the DB sees for this profile st.divider() quality = st.slider("Display Quality", 5, 100, 40) @@ -79,4 +80,4 @@ with t4: with t5: # Tab 5 should not depend on Tab 4 paths at all - tab_gallery_sorter.render(quality) \ No newline at end of file + tab_gallery_sorter.render(quality, selected_profile) \ No newline at end of file