Spaces:
Running
Running
Upload utils.py
Browse files
utils.py
CHANGED
|
@@ -151,7 +151,7 @@ def download_thing(directory, url, civitai_api_key="", progress=gr.Progress(trac
|
|
| 151 |
|
| 152 |
def get_local_file_list(dir_path):
|
| 153 |
file_list = []
|
| 154 |
-
for file in Path(dir_path).glob("
|
| 155 |
if file.is_file():
|
| 156 |
file_path = str(file)
|
| 157 |
file_list.append(file_path)
|
|
|
|
| 151 |
|
| 152 |
def get_local_file_list(dir_path):
|
| 153 |
file_list = []
|
| 154 |
+
for file in Path(dir_path).glob("*/*.*"):
|
| 155 |
if file.is_file():
|
| 156 |
file_path = str(file)
|
| 157 |
file_list.append(file_path)
|