Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -200,9 +200,9 @@ def process_directory(directory, folder_paths, file_paths):
|
|
| 200 |
print(f"Total number of files: {len(files)}")
|
| 201 |
|
| 202 |
for file_path in files:
|
| 203 |
-
|
| 204 |
file_ext = os.path.splitext(file_path)[1]
|
| 205 |
-
|
| 206 |
if os.path.getsize(file_path) == 0:
|
| 207 |
print(f"Skipping an empty file: {file_path}")
|
| 208 |
continue
|
|
|
|
| 200 |
print(f"Total number of files: {len(files)}")
|
| 201 |
|
| 202 |
for file_path in files:
|
| 203 |
+
print("111111111:", file_path)
|
| 204 |
file_ext = os.path.splitext(file_path)[1]
|
| 205 |
+
print("222222222:", file_ext)
|
| 206 |
if os.path.getsize(file_path) == 0:
|
| 207 |
print(f"Skipping an empty file: {file_path}")
|
| 208 |
continue
|