Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,10 @@ from huggingface_hub import HfFileSystem
|
|
3 |
from flax.serialization import msgpack_restore
|
4 |
import os
|
5 |
|
6 |
-
|
|
|
|
|
|
|
7 |
|
8 |
print(fs.ls("models"))
|
9 |
|
|
|
3 |
from flax.serialization import msgpack_restore
|
4 |
import os
|
5 |
|
6 |
+
hf_key = os.environ['HF_KEY']
|
7 |
+
|
8 |
+
|
9 |
+
fs = HfFileSystem(token=hf_key)
|
10 |
|
11 |
print(fs.ls("models"))
|
12 |
|