fix(studio): update temporary directory path to use system temp dir

This commit is contained in:
Shine1i 2026-03-09 20:08:40 +01:00 committed by Manan17
commit 958bdef43e

View file

@ -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: