Spaces:
Runtime error
Runtime error
Do need to use iter over `list_spaces` anymore
#1
by
Wauplin
HF staff
- opened
app.py
CHANGED
@@ -6,7 +6,7 @@ from toolz import groupby, valmap
|
|
6 |
|
7 |
@cached(cache=TTLCache(maxsize=100, ttl=60 * 10))
|
8 |
def get_spaces():
|
9 |
-
return list(
|
10 |
|
11 |
|
12 |
get_spaces() # to warm up the cache
|
|
|
6 |
|
7 |
@cached(cache=TTLCache(maxsize=100, ttl=60 * 10))
|
8 |
def get_spaces():
|
9 |
+
return list(list_spaces(full=True, limit=None))
|
10 |
|
11 |
|
12 |
get_spaces() # to warm up the cache
|