Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
added auth to dataset endpopints
samitd07397c81e33
diff --git a/studio/backend/routes/datasets.py b/studio/backend/routes/datasets.pyindex cb1ea75e331..a53e2230152 100644--- a/studio/backend/routes/datasets.py+++ b/studio/backend/routes/datasets.py@@ -5,7 +5,7 @@ import base64import ioimport sysfrom pathlib import Path-from fastapi import APIRouter, HTTPException+from fastapi import APIRouter, Depends, HTTPExceptionimport logging# Add backend directory to path@@ -15,6 +15,7 @@ if str(backend_path) not in sys.path:# Import dataset utilitiesfrom utils.datasets import check_dataset_format+from auth.authentication import get_current_subjectrouter = APIRouter()logger = logging.getLogger(__name__)@@ -84,7 +85,10 @@ DATA_EXTS = (@router.post("/check-format", response_model=CheckFormatResponse)-def check_format(request: CheckFormatRequest):+def check_format(+ request: CheckFormatRequest,+ current_subject: str = Depends(get_current_subject),+):"""Check if a dataset requires manual column mapping.