albertvillanova HF staff commited on
Commit
a0b7d04
1 Parent(s): dccee83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def init_choices():
11
  #t = time.gmtime(time.time())
12
  #return {"a": 1, "b": 2, f"{t.tm_min}:{t.tm_sec}": 3}
13
  path = "datasets/albertvillanova/tmp-state-on-load-ds/**/**/*.json"
14
- paths = fs.glob(path)
15
  return {path: path for path in paths}
16
 
17
 
 
11
  #t = time.gmtime(time.time())
12
  #return {"a": 1, "b": 2, f"{t.tm_min}:{t.tm_sec}": 3}
13
  path = "datasets/albertvillanova/tmp-state-on-load-ds/**/**/*.json"
14
+ paths = HfFileSystem().glob(path)
15
  return {path: path for path in paths}
16
 
17