From 821573e984189ab1040f40627411335fcea72e6f Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 12 Jul 2023 19:34:14 -0400 Subject: [PATCH] clean up Former-commit-id: 073f399f4f07de422c5a3749dc0a529616dc357e --- swarms/agents/workers/WorkerUltraNode.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swarms/agents/workers/WorkerUltraNode.py b/swarms/agents/workers/WorkerUltraNode.py index b9b23431..6af14eef 100644 --- a/swarms/agents/workers/WorkerUltraNode.py +++ b/swarms/agents/workers/WorkerUltraNode.py @@ -16,7 +16,9 @@ from swarms.utils.main import StaticUploader logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') BASE_DIR = Path(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -os.chdir(BASE_DIR / os.environ["PLAYGROUND_DIR"]) +playground = os.environ["PLAYGROUND_DIR"] = '/path/to/directory' + +os.chdir(BASE_DIR / playground) class WorkerUltraNode: def __init__(self, objective: str):