siddhartharya commited on
Commit
97fe3aa
Β·
verified Β·
1 Parent(s): 3d4cca1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -722,6 +722,12 @@ def build_app():
722
  # Initialize state
723
  state_bookmarks = gr.State([])
724
 
 
 
 
 
 
 
725
  # General Overview
726
  gr.Markdown("""
727
  # πŸ“š SmartMarks - AI Browser Bookmarks Manager
@@ -834,10 +840,7 @@ Navigate through the tabs to explore each feature in detail.
834
  """)
835
 
836
  manage_output = gr.Textbox(label="πŸ”„ Status", interactive=False)
837
- bookmark_selector = gr.CheckboxGroup(
838
- label="βœ… Select Bookmarks",
839
- choices=[]
840
- )
841
  new_category = gr.Dropdown(
842
  label="πŸ†• New Category",
843
  choices=CATEGORIES,
 
722
  # Initialize state
723
  state_bookmarks = gr.State([])
724
 
725
+ # Define 'bookmark_selector' BEFORE the tabs to ensure it's available when referenced
726
+ bookmark_selector = gr.CheckboxGroup(
727
+ label="βœ… Select Bookmarks",
728
+ choices=[]
729
+ )
730
+
731
  # General Overview
732
  gr.Markdown("""
733
  # πŸ“š SmartMarks - AI Browser Bookmarks Manager
 
840
  """)
841
 
842
  manage_output = gr.Textbox(label="πŸ”„ Status", interactive=False)
843
+ # 'bookmark_selector' is already defined outside the tab
 
 
 
844
  new_category = gr.Dropdown(
845
  label="πŸ†• New Category",
846
  choices=CATEGORIES,