PrakhAI commited on
Commit
8298279
·
1 Parent(s): 2ba1b34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -3,7 +3,10 @@ from huggingface_hub import HfFileSystem
3
  from flax.serialization import msgpack_restore
4
  import os
5
 
6
- fs = HfFileSystem()
 
 
 
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