Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,6 +145,7 @@ def process_directory(directory, partial_paths=None, file_paths=None):
|
|
| 145 |
if file_paths:
|
| 146 |
files += [get_file(tmpdirname, file_path) for file_path in file_paths]
|
| 147 |
|
|
|
|
| 148 |
for file_path in files:
|
| 149 |
file_ext = os.path.splitext(file_path)[1]
|
| 150 |
|
|
|
|
| 145 |
if file_paths:
|
| 146 |
files += [get_file(tmpdirname, file_path) for file_path in file_paths]
|
| 147 |
|
| 148 |
+
print(f"Total number of files: {len(files)}")
|
| 149 |
for file_path in files:
|
| 150 |
file_ext = os.path.splitext(file_path)[1]
|
| 151 |
|