Spaces:
Sleeping
Sleeping
Update video_processing.py
Browse files- video_processing.py +1 -1
video_processing.py
CHANGED
@@ -145,7 +145,7 @@ def cleanup_temp_files():
|
|
145 |
for file in os.listdir(temp_dir):
|
146 |
file_path = os.path.join(temp_dir, file)
|
147 |
try:
|
148 |
-
if os.path.isfile(file_path)
|
149 |
os.unlink(file_path)
|
150 |
except Exception as e:
|
151 |
print(f"Error: {e}")
|
|
|
145 |
for file in os.listdir(temp_dir):
|
146 |
file_path = os.path.join(temp_dir, file)
|
147 |
try:
|
148 |
+
if os.path.isfile(file_path):
|
149 |
os.unlink(file_path)
|
150 |
except Exception as e:
|
151 |
print(f"Error: {e}")
|