Terry Zhuo
commited on
Commit
·
5346fa2
1
Parent(s):
a131ab0
skip bigcode rm
Browse files- src/execute.py +1 -1
src/execute.py
CHANGED
@@ -53,7 +53,7 @@ def cleanup_previous_files(jsonl_file):
|
|
53 |
file_list = ['Dockerfile', 'app.py', 'README.md', "__pycache__"]
|
54 |
for file in glob.glob("*"):
|
55 |
try:
|
56 |
-
if file not in file_list:
|
57 |
os.remove(file)
|
58 |
except Exception as e:
|
59 |
print(f"Error during cleanup of {file}: {e}")
|
|
|
53 |
file_list = ['Dockerfile', 'app.py', 'README.md', "__pycache__"]
|
54 |
for file in glob.glob("*"):
|
55 |
try:
|
56 |
+
if file not in file_list or not file.startswith("bigcode"):
|
57 |
os.remove(file)
|
58 |
except Exception as e:
|
59 |
print(f"Error during cleanup of {file}: {e}")
|