Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,8 @@ from tqdm.contrib.concurrent import thread_map
|
|
| 13 |
|
| 14 |
load_dotenv()
|
| 15 |
|
| 16 |
-
LIMIT =
|
|
|
|
| 17 |
CACHE_TIME = 60 * 60 * 12 # 12 hours
|
| 18 |
REMOVE_ORGS = {
|
| 19 |
"HuggingFaceM4",
|
|
@@ -99,7 +100,7 @@ def get_datasets():
|
|
| 99 |
return list(
|
| 100 |
tqdm(
|
| 101 |
iter(
|
| 102 |
-
list_datasets(limit=LIMIT, full=True, sort="
|
| 103 |
)
|
| 104 |
)
|
| 105 |
)
|
|
|
|
| 13 |
|
| 14 |
load_dotenv()
|
| 15 |
|
| 16 |
+
LIMIT = 2_000
|
| 17 |
+
|
| 18 |
CACHE_TIME = 60 * 60 * 12 # 12 hours
|
| 19 |
REMOVE_ORGS = {
|
| 20 |
"HuggingFaceM4",
|
|
|
|
| 100 |
return list(
|
| 101 |
tqdm(
|
| 102 |
iter(
|
| 103 |
+
list_datasets(limit=LIMIT, full=True, sort="createdAt", direction=-1)
|
| 104 |
)
|
| 105 |
)
|
| 106 |
)
|