Spaces:
Runtime error
Runtime error
Update test.py
Browse files
test.py
CHANGED
|
@@ -13,12 +13,12 @@ def manage_hf_files(hf_token):
|
|
| 13 |
|
| 14 |
# List all ".csv" files in a repository
|
| 15 |
print("\nListing all '.csv' files in the repository:")
|
| 16 |
-
csv_files = fs.glob("datasets/
|
| 17 |
for csv_file in csv_files:
|
| 18 |
print(csv_file)
|
| 19 |
|
| 20 |
print("\nListing all '.csv' files in the repository:")
|
| 21 |
-
json_files = fs.glob("datasets/
|
| 22 |
for json_file in json_files:
|
| 23 |
print("Json_File:", json_file)
|
| 24 |
|
|
|
|
| 13 |
|
| 14 |
# List all ".csv" files in a repository
|
| 15 |
print("\nListing all '.csv' files in the repository:")
|
| 16 |
+
csv_files = fs.glob("datasets/bupa1018/Test/**/*.csv")
|
| 17 |
for csv_file in csv_files:
|
| 18 |
print(csv_file)
|
| 19 |
|
| 20 |
print("\nListing all '.csv' files in the repository:")
|
| 21 |
+
json_files = fs.glob("datasets/bupa1018/Test/**/*.json")
|
| 22 |
for json_file in json_files:
|
| 23 |
print("Json_File:", json_file)
|
| 24 |
|