fix(studio): update temporary directory path to use system temp dir
This commit is contained in:
parent
5301514775
commit
958bdef43e
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue