osbm commited on
Commit
4356fad
·
1 Parent(s): 2583127
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ with st.form("login"):
25
 
26
 
27
  def get_list_of_images():
28
- all_files = hfh.get_paths_info(repo_id = "aifred-smart-life-coach/capstone-images", repo_type = "dataset")
29
- return all_files
30
 
31
 
32
  def get_one_from_queue(voter: str):
 
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)
30
 
31
 
32
  def get_one_from_queue(voter: str):