Spaces:
Running
Running
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -16,16 +16,12 @@ class MainBody(param.Parameterized):
|
|
| 16 |
pn.Row(pn.layout.Spacer(height=10)),
|
| 17 |
pn.Column(pn.pane.LaTeX("Please select some tags!", styles={'font-size': '20pt', 'font-weight': 'bold'}))
|
| 18 |
])
|
| 19 |
-
|
| 20 |
-
@param.depends("main_body")
|
| 21 |
-
def update(self):
|
| 22 |
-
return pn.Column(*self.main_body)
|
| 23 |
|
| 24 |
main_body_instance = MainBody()
|
| 25 |
|
| 26 |
paper_list = [] # Add this line to initialize paper_list as an empty list
|
| 27 |
|
| 28 |
-
main_body = [
|
| 29 |
|
| 30 |
# Create buttons for the toggleable sidebar
|
| 31 |
# button1 = pn.widgets.Button(icon='home', name="Daily papers", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140, align='center' )
|
|
|
|
| 16 |
pn.Row(pn.layout.Spacer(height=10)),
|
| 17 |
pn.Column(pn.pane.LaTeX("Please select some tags!", styles={'font-size': '20pt', 'font-weight': 'bold'}))
|
| 18 |
])
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
main_body_instance = MainBody()
|
| 21 |
|
| 22 |
paper_list = [] # Add this line to initialize paper_list as an empty list
|
| 23 |
|
| 24 |
+
main_body = []
|
| 25 |
|
| 26 |
# Create buttons for the toggleable sidebar
|
| 27 |
# button1 = pn.widgets.Button(icon='home', name="Daily papers", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140, align='center' )
|