Spaces:
Running
Running
Update TLDR.py
Browse files
TLDR.py
CHANGED
|
@@ -64,7 +64,8 @@ def run_code(buttons_to_add, arxiv_tags, event = None):
|
|
| 64 |
|
| 65 |
|
| 66 |
def update_mainTLDR(buttons_to_add, paper_list):
|
| 67 |
-
|
|
|
|
| 68 |
# Create a list to store the contents for the selected categories
|
| 69 |
content_list = []
|
| 70 |
|
|
@@ -74,7 +75,7 @@ def update_mainTLDR(buttons_to_add, paper_list):
|
|
| 74 |
print("Used categories:", buttons_to_add, flush=True)
|
| 75 |
|
| 76 |
# Generate a Markdown object for each selected category
|
| 77 |
-
markdown = pn.pane.Markdown(f"# {
|
| 78 |
first_flag = 1
|
| 79 |
for paper in paper_list[i]:
|
| 80 |
print("Paper list: ", paper.title, flush = True)
|
|
|
|
| 64 |
|
| 65 |
|
| 66 |
def update_mainTLDR(buttons_to_add, paper_list):
|
| 67 |
+
|
| 68 |
+
|
| 69 |
# Create a list to store the contents for the selected categories
|
| 70 |
content_list = []
|
| 71 |
|
|
|
|
| 75 |
print("Used categories:", buttons_to_add, flush=True)
|
| 76 |
|
| 77 |
# Generate a Markdown object for each selected category
|
| 78 |
+
markdown = pn.pane.Markdown(f"# {buttons_to_add[i]}")
|
| 79 |
first_flag = 1
|
| 80 |
for paper in paper_list[i]:
|
| 81 |
print("Paper list: ", paper.title, flush = True)
|