Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ def process_directory(directory, folder_paths, file_paths):
|
|
| 202 |
for file_path in files:
|
| 203 |
print("111111111:", file_path)
|
| 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
|
|
|
|
| 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
|