Spaces:
Runtime error
Runtime error
Update bin_public/app/local.py
Browse files- bin_public/app/local.py +1 -1
bin_public/app/local.py
CHANGED
|
@@ -12,7 +12,7 @@ def listing_files(repo_id):
|
|
| 12 |
file_list = api.list_repo_files(repo_id=repo_id, repo_type="space")
|
| 13 |
file_list_m = []
|
| 14 |
for i in file_list:
|
| 15 |
-
if '.txt' in i:
|
| 16 |
file_list_m.append(i)
|
| 17 |
|
| 18 |
return file_list_m
|
|
|
|
| 12 |
file_list = api.list_repo_files(repo_id=repo_id, repo_type="space")
|
| 13 |
file_list_m = []
|
| 14 |
for i in file_list:
|
| 15 |
+
if '.txt' and '症状' in i:
|
| 16 |
file_list_m.append(i)
|
| 17 |
|
| 18 |
return file_list_m
|