Aitron Emper
commited on
Commit
•
7cee42d
1
Parent(s):
ddcbf3e
Update delete_models.py
Browse files- delete_models.py +2 -2
delete_models.py
CHANGED
@@ -24,8 +24,8 @@ def infinite_loop():
|
|
24 |
try:
|
25 |
audios_folder = os.path.join(now_dir, "audios")
|
26 |
|
27 |
-
for element in os.listdir(
|
28 |
-
element_route = os.path.join(
|
29 |
if os.path.isfile(element_route):
|
30 |
os.remove(element_route)
|
31 |
|
|
|
24 |
try:
|
25 |
audios_folder = os.path.join(now_dir, "audios")
|
26 |
|
27 |
+
for element in os.listdir(audios_folder):
|
28 |
+
element_route = os.path.join(audios_folder, element)
|
29 |
if os.path.isfile(element_route):
|
30 |
os.remove(element_route)
|
31 |
|