Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files
app.py
CHANGED
@@ -24,7 +24,10 @@ DEFAULT_COLUMNS = [
|
|
24 |
|
25 |
|
26 |
def update_num_papers(df: pd.DataFrame) -> str:
|
27 |
-
|
|
|
|
|
|
|
28 |
|
29 |
|
30 |
def update_df(
|
|
|
24 |
|
25 |
|
26 |
def update_num_papers(df: pd.DataFrame) -> str:
|
27 |
+
if "claimed" in df.columns:
|
28 |
+
return f"{len(df)} / {len(paper_list.df_raw)} ({len(df[df['claimed'].str.contains('β
')])} claimed)"
|
29 |
+
else:
|
30 |
+
return f"{len(df)} / {len(paper_list.df_raw)}"
|
31 |
|
32 |
|
33 |
def update_df(
|