John6666 commited on
Commit
7e84778
·
verified ·
1 Parent(s): def1593

Upload utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
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)