Update app.py
Browse files
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
|
| 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,
|