osbm commited on
Commit
e19621f
·
1 Parent(s): 9bed0ba
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ with st.form("login"):
25
 
26
 
27
  def get_list_of_images():
28
- fs = hfh.HfFileSystem()
29
  return fs.ls("datasets/aifred-smart-life-coach/capstone-images", detail=False, refresh=True)
30
 
31
 
 
25
 
26
 
27
  def get_list_of_images():
28
+ fs = hfh.HfFileSystem(token=os.environ.get("hf_token"))
29
  return fs.ls("datasets/aifred-smart-life-coach/capstone-images", detail=False, refresh=True)
30
 
31