Spaces:
Runtime error
Runtime error
Commit
Β·
0f6c693
1
Parent(s):
479b4a3
small fixes
Browse files
app.py
CHANGED
|
@@ -6,8 +6,7 @@ from collections import defaultdict
|
|
| 6 |
import gradio as gr
|
| 7 |
from cachetools import TTLCache, cached
|
| 8 |
from cytoolz import groupby
|
| 9 |
-
from huggingface_hub import
|
| 10 |
-
list_models)
|
| 11 |
from tqdm.auto import tqdm
|
| 12 |
|
| 13 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
|
@@ -138,9 +137,9 @@ slug_input = gr.Textbox(
|
|
| 138 |
placeholder=placeholder_url, interactive=True, label="Collection slug", max_lines=1
|
| 139 |
)
|
| 140 |
description = (
|
| 141 |
-
"Enter a Collection slug to get the
|
| 142 |
" papers associated with models and datasets in the collection. If the collection"
|
| 143 |
-
" includes papers the
|
| 144 |
" those papers as well."
|
| 145 |
)
|
| 146 |
|
|
|
|
| 6 |
import gradio as gr
|
| 7 |
from cachetools import TTLCache, cached
|
| 8 |
from cytoolz import groupby
|
| 9 |
+
from huggingface_hub import CollectionItem, get_collection, list_datasets, list_models
|
|
|
|
| 10 |
from tqdm.auto import tqdm
|
| 11 |
|
| 12 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
|
|
|
| 137 |
placeholder=placeholder_url, interactive=True, label="Collection slug", max_lines=1
|
| 138 |
)
|
| 139 |
description = (
|
| 140 |
+
"Enter a Collection slug to get the arXiv IDs and Hugging Face Paper links for"
|
| 141 |
" papers associated with models and datasets in the collection. If the collection"
|
| 142 |
+
" includes papers the arXiv IDs and Hugging Face Paper links will be returned for"
|
| 143 |
" those papers as well."
|
| 144 |
)
|
| 145 |
|