Update app.py
This commit is contained in:
9
app.py
9
app.py
@@ -32,9 +32,10 @@ if not profiles:
|
|||||||
|
|
||||||
# --- SIDEBAR ---
|
# --- SIDEBAR ---
|
||||||
with st.sidebar:
|
with st.sidebar:
|
||||||
st.title("⭐ Workspaces")
|
st.divider()
|
||||||
selected_profile = st.selectbox("Active Workspace", list(profiles.keys()), key="active_profile")
|
with st.expander("🔍 Path Debugger"):
|
||||||
p_data = profiles.get(selected_profile, {})
|
st.write(f"**Active Workspace:** {selected_profile}")
|
||||||
|
st.json(p_data) # Shows exactly what the DB sees for this profile
|
||||||
|
|
||||||
st.divider()
|
st.divider()
|
||||||
quality = st.slider("Display Quality", 5, 100, 40)
|
quality = st.slider("Display Quality", 5, 100, 40)
|
||||||
@@ -79,4 +80,4 @@ with t4:
|
|||||||
|
|
||||||
with t5:
|
with t5:
|
||||||
# Tab 5 should not depend on Tab 4 paths at all
|
# Tab 5 should not depend on Tab 4 paths at all
|
||||||
tab_gallery_sorter.render(quality)
|
tab_gallery_sorter.render(quality, selected_profile)
|
||||||
Reference in New Issue
Block a user