Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,9 +193,9 @@ def process_directory(directory, folder_paths, file_paths):
|
|
| 193 |
print(f"Total number of files: {len(files)}")
|
| 194 |
|
| 195 |
for file_path in files:
|
| 196 |
-
|
| 197 |
file_ext = os.path.splitext(file_path)[1]
|
| 198 |
-
|
| 199 |
if os.path.getsize(file_path) == 0:
|
| 200 |
print(f"Skipping an empty file: {file_path}")
|
| 201 |
continue
|
|
|
|
| 193 |
print(f"Total number of files: {len(files)}")
|
| 194 |
|
| 195 |
for file_path in files:
|
| 196 |
+
# print("111111111:", file_path)
|
| 197 |
file_ext = os.path.splitext(file_path)[1]
|
| 198 |
+
# print("222222222:", file_ext)
|
| 199 |
if os.path.getsize(file_path) == 0:
|
| 200 |
print(f"Skipping an empty file: {file_path}")
|
| 201 |
continue
|