Spaces:
Running
Running
jbdel
commited on
Commit
•
e4eebea
1
Parent(s):
869d667
MICCAI
Browse files- constants.py +1 -1
- df/PaperCentral.py +9 -6
constants.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
NEURIPS_ICO = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAeFBMVEVHcExoRIuHYZ5oRItoRItoRItoRItoRItSN2loRItoRIuDXpxoRItoRIuSbKWRa6SRa6QCAAsAAAAAAAAAAAAAAAAAAAAAAAAAAACRa6SRa6QAAAAAAAAAAACRa6SRa6SRa6QAAAAAAAAAAACRa6QAAACRa6SRa6TWTNGBAAAAKHRSTlMAQBVQ9mKR0AgzfiGvcypL4BBmP11VbIQvd5JKcSFaOv95io2qjsjs/SKIogAAAT9JREFUeAHMwbUBAzAMBMB/C2wLAvsvmyYMfe7wZ8gh+E3Np6lMfLV0h+bwHFLEJ90lEFGZvcUcH6ayIri5ucLF8Iq6AZl0aROAKcSzw8G3NFYJbohnx+3Ybbbxw+msBHJfqp2DHAdhGAqgX1khRSKY2GAwJtBhOve/4aTNoisO0GfJ9srfGDOLYGKaSfGxpBWNbVtmr20cDR9xL6iydpp9ooncoCKZjNRRHf0eOkBsPI3xOPVnlhlmjG0WVDEMJQLmnuHmlMndO8+v3dqFUK6AipjFTUXZXyWiag5g2VO5egA+8cZgwekmWSz/TmTAMqThwrD26PA+zLzZWOdJhEwAwrPfhxLCAZjpaIY8+eMUIzTLMy7laiECVYaKqrf85u/CuuOIuLOGNSUUpB53jvpFisOFe8d+rCHgXkQK+Fb/W30Y/tu4vyAAAAAASUVORK5CYII="
|
2 |
COLM_ICO = "data:image/svg+xml;base64,PCEtLSBmYXZpY29uLnN2ZyAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDx0ZXh0IHk9IjMyIiBmb250LXNpemU9IjMyIj7wn6aZPC90ZXh0Pgo8L3N2Zz4="
|
3 |
DEFAULT_ICO = NEURIPS_ICO
|
4 |
-
|
5 |
DATASET_ARXIV_SCAN_PAPERS = "IAMJB/scanned-arxiv-papers-id"
|
6 |
DATASET_CONFERENCE_PAPERS = "IAMJB/paper_conference_aggregate"
|
7 |
DATASET_DAILY_PAPERS = "hysts-bot-data/daily-papers"
|
|
|
1 |
NEURIPS_ICO = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAeFBMVEVHcExoRIuHYZ5oRItoRItoRItoRItoRItSN2loRItoRIuDXpxoRItoRIuSbKWRa6SRa6QCAAsAAAAAAAAAAAAAAAAAAAAAAAAAAACRa6SRa6QAAAAAAAAAAACRa6SRa6SRa6QAAAAAAAAAAACRa6QAAACRa6SRa6TWTNGBAAAAKHRSTlMAQBVQ9mKR0AgzfiGvcypL4BBmP11VbIQvd5JKcSFaOv95io2qjsjs/SKIogAAAT9JREFUeAHMwbUBAzAMBMB/C2wLAvsvmyYMfe7wZ8gh+E3Np6lMfLV0h+bwHFLEJ90lEFGZvcUcH6ayIri5ucLF8Iq6AZl0aROAKcSzw8G3NFYJbohnx+3Ybbbxw+msBHJfqp2DHAdhGAqgX1khRSKY2GAwJtBhOve/4aTNoisO0GfJ9srfGDOLYGKaSfGxpBWNbVtmr20cDR9xL6iydpp9ooncoCKZjNRRHf0eOkBsPI3xOPVnlhlmjG0WVDEMJQLmnuHmlMndO8+v3dqFUK6AipjFTUXZXyWiag5g2VO5egA+8cZgwekmWSz/TmTAMqThwrD26PA+zLzZWOdJhEwAwrPfhxLCAZjpaIY8+eMUIzTLMy7laiECVYaKqrf85u/CuuOIuLOGNSUUpB53jvpFisOFe8d+rCHgXkQK+Fb/W30Y/tu4vyAAAAAASUVORK5CYII="
|
2 |
COLM_ICO = "data:image/svg+xml;base64,PCEtLSBmYXZpY29uLnN2ZyAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDx0ZXh0IHk9Ij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JXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA5LTEzVDE5OjU3OjAyKzAwOjAwW0dkUgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wOS0xM1QxOTo1NzowMiswMDowMCoa3O4AAAAgdEVYdHNvZnR3YXJlAGh0dHBzOi8vaW1hZ2VtYWdpY2sub3JnvM8dnQAAABh0RVh0VGh1bWI6OkRvY3VtZW50OjpQYWdlcwAxp/+7LwAAABh0RVh0VGh1bWI6OkltYWdlOjpIZWlnaHQAMTkyQF1xVQAAABd0RVh0VGh1bWI6OkltYWdlOjpXaWR0aAAxOTLTrCEIAAAAGXRFWHRUaHVtYjo6TWltZXR5cGUAaW1hZ2UvcG5nP7JWTgAAABd0RVh0VGh1bWI6Ok1UaW1lADE2OTQ2MzUwMjKTECoKAAAAD3RFWHRUaHVtYjo6U2l6ZQAwQkKUoj7sAAAAVnRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vbW50bG9nL2Zhdmljb25zLzIwMjMtMDktMTMvYjY1MDJmYmMyZWIzMmRmNGM1NDc5Nzg3ZWI0ZDExYzIuaWNvLnBuZ2mnJHsAAAAASUVORK5CYII="
|
5 |
DATASET_ARXIV_SCAN_PAPERS = "IAMJB/scanned-arxiv-papers-id"
|
6 |
DATASET_CONFERENCE_PAPERS = "IAMJB/paper_conference_aggregate"
|
7 |
DATASET_DAILY_PAPERS = "hysts-bot-data/daily-papers"
|
df/PaperCentral.py
CHANGED
@@ -8,6 +8,7 @@ from constants import (
|
|
8 |
DATASET_PAPER_CENTRAL,
|
9 |
COLM_ICO,
|
10 |
DEFAULT_ICO,
|
|
|
11 |
)
|
12 |
import gradio as gr
|
13 |
from utils import load_and_process
|
@@ -31,6 +32,7 @@ class PaperCentral:
|
|
31 |
"NeurIPS2023",
|
32 |
"NeurIPS2023 D&B",
|
33 |
"COLM2024",
|
|
|
34 |
]
|
35 |
CONFERENCES_ICONS = {
|
36 |
"ACL2023": 'https://aclanthology.org/aclicon.ico',
|
@@ -44,6 +46,7 @@ class PaperCentral:
|
|
44 |
"NeurIPS2023": NEURIPS_ICO,
|
45 |
"NeurIPS2023 D&B": NEURIPS_ICO,
|
46 |
"COLM2024": COLM_ICO,
|
|
|
47 |
}
|
48 |
|
49 |
# Class-level constants defining columns and their data types
|
@@ -251,12 +254,6 @@ class PaperCentral:
|
|
251 |
|
252 |
df = df.copy()
|
253 |
|
254 |
-
# Sort rows to display entries with 'paper_page' first
|
255 |
-
if 'paper_page' in df.columns:
|
256 |
-
df['has_paper_page'] = df['paper_page'].notna()
|
257 |
-
df.sort_values(by='has_paper_page', ascending=False, inplace=True)
|
258 |
-
df.drop(columns='has_paper_page', inplace=True)
|
259 |
-
|
260 |
# Apply the update_row function to each row
|
261 |
prettified_df: pd.DataFrame = df.apply(update_row, axis=1)
|
262 |
return prettified_df
|
@@ -451,6 +448,12 @@ class PaperCentral:
|
|
451 |
PaperCentral.DATATYPES.get(self._get_original_column_name(col), 'str') for col in filtered_df.columns
|
452 |
]
|
453 |
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
# Return an update object to modify the Dataframe component
|
455 |
return gr.update(value=filtered_df, datatype=new_datatypes)
|
456 |
|
|
|
8 |
DATASET_PAPER_CENTRAL,
|
9 |
COLM_ICO,
|
10 |
DEFAULT_ICO,
|
11 |
+
MICCAI24ICO,
|
12 |
)
|
13 |
import gradio as gr
|
14 |
from utils import load_and_process
|
|
|
32 |
"NeurIPS2023",
|
33 |
"NeurIPS2023 D&B",
|
34 |
"COLM2024",
|
35 |
+
"MICCAI2024",
|
36 |
]
|
37 |
CONFERENCES_ICONS = {
|
38 |
"ACL2023": 'https://aclanthology.org/aclicon.ico',
|
|
|
46 |
"NeurIPS2023": NEURIPS_ICO,
|
47 |
"NeurIPS2023 D&B": NEURIPS_ICO,
|
48 |
"COLM2024": COLM_ICO,
|
49 |
+
"MICCAI2024": MICCAI24ICO,
|
50 |
}
|
51 |
|
52 |
# Class-level constants defining columns and their data types
|
|
|
254 |
|
255 |
df = df.copy()
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
# Apply the update_row function to each row
|
258 |
prettified_df: pd.DataFrame = df.apply(update_row, axis=1)
|
259 |
return prettified_df
|
|
|
448 |
PaperCentral.DATATYPES.get(self._get_original_column_name(col), 'str') for col in filtered_df.columns
|
449 |
]
|
450 |
|
451 |
+
# Sort rows to display entries with 'paper_page' first
|
452 |
+
if 'paper_page' in filtered_df.columns:
|
453 |
+
filtered_df['has_paper_page'] = filtered_df['paper_page'].notna() & (filtered_df['paper_page'] != "")
|
454 |
+
filtered_df.sort_values(by='has_paper_page', ascending=False, inplace=True)
|
455 |
+
filtered_df.drop(columns='has_paper_page', inplace=True)
|
456 |
+
|
457 |
# Return an update object to modify the Dataframe component
|
458 |
return gr.update(value=filtered_df, datatype=new_datatypes)
|
459 |
|