From 958bdef43e70b77c2edc301f76a8d12485c67201 Mon Sep 17 00:00:00 2001 From: Shine1i Date: Mon, 9 Mar 2026 20:08:40 +0100 Subject: [PATCH] fix(studio): update temporary directory path to use system temp dir --- studio/backend/utils/paths/storage_roots.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/studio/backend/utils/paths/storage_roots.py b/studio/backend/utils/paths/storage_roots.py index 8eca28116b..58d2af16c1 100644 --- a/studio/backend/utils/paths/storage_roots.py +++ b/studio/backend/utils/paths/storage_roots.py @@ -1,6 +1,7 @@ from __future__ import annotations from pathlib import Path +import tempfile def studio_root() -> Path: @@ -32,7 +33,7 @@ def exports_root() -> Path: def tmp_root() -> Path: - return studio_root() / "tmp" + return Path(tempfile.gettempdir()) / "unsloth-studio" def seed_uploads_root() -> Path: