Skip to content

Commit f0d7cec

Browse files
refactor: move model trash to top-level .art/trash/<project>/models
1 parent eec768f commit f0d7cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/art/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ async def train(
364364

365365

366366
def _get_trash_dir(project_name: str) -> str:
367-
models_dir = get_models_dir(project_name)
368-
return os.path.join(models_dir, ".trash")
367+
art_path = get_default_art_path()
368+
return os.path.join(art_path, "trash", project_name, "models")
369369

370370

371371
def move_to_trash(project_name: str, model_name: str):

0 commit comments

Comments
 (0)