Spaces:
Sleeping
Sleeping
add token
Browse files
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 |
|