diff --git a/evoprompt/utils.py b/evoprompt/utils.py index ee07654d6c8f3148b5d24fec39ac667ab03b2833..ac8e6fe46de885debb083d861afb9d42fb0c456a 100644 --- a/evoprompt/utils.py +++ b/evoprompt/utils.py @@ -35,7 +35,8 @@ Create a random name that sounds german or dutch The parts should be separated by underscores and contain only lowercase. Only return the name without any text before or after.""".strip() -RUNS_DIR = current_directory / "runs" +RUNS_DIR = current_directory.parent / "runs" +RUNS_DIR.mkdir(exist_ok=True) def initialize_run_directory(model: Callable):