bupa1018 commited on
Commit
a4c5e4b
·
1 Parent(s): 56d4785

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py CHANGED
@@ -152,17 +152,6 @@ def process_directory(directory, partial_paths=None, file_paths=None):
152
  files += get_all_files_in_folder(tmpsubdirpath, partial_path)
153
  if file_paths:
154
  files += [get_file(tmpsubdirpath, file_path) for file_path in file_paths]
155
- else:
156
- # Handle the case where either one is not empty
157
- if partial_paths:
158
- # partial_paths is not empty
159
- print("Partial paths are not empty. Doing something...")
160
-
161
- if file_paths:
162
- # file_paths is not empty
163
- print("File paths are not empty. Doing something...")
164
-
165
-
166
 
167
  print(f"Total number of files: {len(files)}")
168
  for file_path in files:
 
152
  files += get_all_files_in_folder(tmpsubdirpath, partial_path)
153
  if file_paths:
154
  files += [get_file(tmpsubdirpath, file_path) for file_path in file_paths]
 
 
 
 
 
 
 
 
 
 
 
155
 
156
  print(f"Total number of files: {len(files)}")
157
  for file_path in files: