Spaces:
Paused
Paused
Fix
Browse files- paper_list.py +3 -3
paper_list.py
CHANGED
|
@@ -72,9 +72,9 @@ class PaperList:
|
|
| 72 |
df = df[df.title_lowercase.str.contains(search_query.lower())]
|
| 73 |
has_arxiv = 'arXiv' in filter_names
|
| 74 |
has_github = 'GitHub' in filter_names
|
| 75 |
-
has_hf_space = '
|
| 76 |
-
has_hf_model = '
|
| 77 |
-
has_hf_dataset = '
|
| 78 |
df = self.filter_table(df, has_arxiv, has_github, has_hf_space,
|
| 79 |
has_hf_model, has_hf_dataset)
|
| 80 |
return len(df), self.to_html(df, self.table_header)
|
|
|
|
| 72 |
df = df[df.title_lowercase.str.contains(search_query.lower())]
|
| 73 |
has_arxiv = 'arXiv' in filter_names
|
| 74 |
has_github = 'GitHub' in filter_names
|
| 75 |
+
has_hf_space = 'Space' in filter_names
|
| 76 |
+
has_hf_model = 'Model' in filter_names
|
| 77 |
+
has_hf_dataset = 'Dataset' in filter_names
|
| 78 |
df = self.filter_table(df, has_arxiv, has_github, has_hf_space,
|
| 79 |
has_hf_model, has_hf_dataset)
|
| 80 |
return len(df), self.to_html(df, self.table_header)
|