Spaces:
Running
Running
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -22,6 +22,10 @@ paper_list = [] # Add this line to initialize paper_list as an empty list
|
|
| 22 |
|
| 23 |
main_body = [pn.Row(pn.pane.Markdown("# Please select some tags!"))]
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
# Create binary slider buttons for the sidebar
|
| 27 |
toggle_button = pn.widgets.Toggle(name="Filter", on_text="filter1", off_text="filter2", width=140)
|
|
|
|
| 22 |
|
| 23 |
main_body = [pn.Row(pn.pane.Markdown("# Please select some tags!"))]
|
| 24 |
|
| 25 |
+
# Create buttons for the toggleable sidebar
|
| 26 |
+
button1 = pn.widgets.Button(icon='home', name="Home", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 27 |
+
button2 = pn.widgets.Button(icon='file-analytics', name='My papers', icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
| 28 |
+
button3 = pn.widgets.Button(icon='settings', icon_size='1.5em', name='Settings', button_type = 'primary', button_style = 'outline', width = 140)
|
| 29 |
|
| 30 |
# Create binary slider buttons for the sidebar
|
| 31 |
toggle_button = pn.widgets.Toggle(name="Filter", on_text="filter1", off_text="filter2", width=140)
|