Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def cleanup_temp_files(temp_dir, max_age_seconds=3600):
|
|
38 |
if file_age > max_age_seconds:
|
39 |
os.remove(file_path)
|
40 |
print(f"ε·²εͺι€ιζηθ¨ζζδ»Ά: {file_path}")
|
41 |
-
time.sleep(
|
42 |
|
43 |
# εεζΈ
ηθ¨ζζδ»Άηη·η¨
|
44 |
tempfile_tempdir = tempfile.gettempdir()
|
|
|
38 |
if file_age > max_age_seconds:
|
39 |
os.remove(file_path)
|
40 |
print(f"ε·²εͺι€ιζηθ¨ζζδ»Ά: {file_path}")
|
41 |
+
time.sleep(60) # ζ―ιδΈε°ζε·θ‘δΈζ¬‘ζΈ
η
|
42 |
|
43 |
# εεζΈ
ηθ¨ζζδ»Άηη·η¨
|
44 |
tempfile_tempdir = tempfile.gettempdir()
|