Spaces:
Sleeping
Sleeping
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -10,7 +10,7 @@ import TLDR
|
|
| 10 |
from src.search import Search_Papers
|
| 11 |
|
| 12 |
class MainBody(param.Parameterized):
|
| 13 |
-
main_body = param.List(default=[pn.pane.LaTeX("
|
| 14 |
|
| 15 |
@param.depends("main_body")
|
| 16 |
def update(self):
|
|
@@ -20,8 +20,7 @@ main_body_instance = MainBody()
|
|
| 20 |
|
| 21 |
paper_list = [] # Add this line to initialize paper_list as an empty list
|
| 22 |
|
| 23 |
-
|
| 24 |
-
main_body = [pn.Row(pn.pane.LaTeX("# Please select some tags!"))]
|
| 25 |
|
| 26 |
# Create buttons for the toggleable sidebar
|
| 27 |
button1 = pn.widgets.Button(icon='home', name="Home", icon_size='1.5em', button_type = 'primary', button_style = 'outline', width = 140)
|
|
|
|
| 10 |
from src.search import Search_Papers
|
| 11 |
|
| 12 |
class MainBody(param.Parameterized):
|
| 13 |
+
main_body = param.List(default=[pn.pane.LaTeX("Please select some tags!", styles={'font-size': '20pt'})])
|
| 14 |
|
| 15 |
@param.depends("main_body")
|
| 16 |
def update(self):
|
|
|
|
| 20 |
|
| 21 |
paper_list = [] # Add this line to initialize paper_list as an empty list
|
| 22 |
|
| 23 |
+
main_body = [pn.pane.LaTeX("Please select some tags!", styles={'font-size': '20pt'})]
|
|
|
|
| 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)
|