From 3213caf6cbb80b06f4b26640512464491a6b219d Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 18 Jan 2026 21:03:44 +0100 Subject: [PATCH] Update app.py --- app.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index a005494..756a06a 100644 --- a/app.py +++ b/app.py @@ -32,7 +32,7 @@ with st.sidebar: st.rerun() # --- TABS --- -t1, t2, t3, t4 = st.tabs(["🕒 1. Discovery", "🆔 2. ID Review", "♻️ 3. Unused", "📂 4. Category Sorter"]) +t1, t2, t3, t4, t5 = st.tabs(["Discovery", "Review", "Unused", "Categorizer", "🖼️ Gallery Sorter"]) with t1: path_t1 = st.text_input("Discovery Target", value=p_data.get("tab1_target", "/storage"), key="t1_input") @@ -61,4 +61,8 @@ with t4: # This now correctly accepts the 'mode' argument SorterEngine.save_tab_paths(selected_profile, t4_s=path_t4_s, t4_o=path_t4_o, mode=mode) - tab_category_sorter.render(path_t4_s, path_t4_o, quality, mode) \ No newline at end of file + tab_category_sorter.render(path_t4_s, path_t4_o, quality, mode) + +with t5: + import tab_gallery_sorter + tab_gallery_sorter.render(quality) \ No newline at end of file