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
Format dataset_media.py, merged without the repo formatter in #14840 (#14963)
Daniel Han61b2ffe04a10
diff --git a/studio/backend/utils/security/dataset_media.py b/studio/backend/utils/security/dataset_media.pyindex 95ee7685f94..482d85006f0 100644--- a/studio/backend/utils/security/dataset_media.py+++ b/studio/backend/utils/security/dataset_media.py@@ -145,7 +145,9 @@ def _record_extraction(extract):)with os.fdopen(fd, "w", encoding = "utf-8") as f:f.write(source)- os.chmod(temp, 0o644) # mkstemp's 0600 would hide the record from other users of the cache+ os.chmod(+ temp, 0o644+ ) # mkstemp's 0600 would hide the record from other users of the cacheos.replace(temp, top + _SOURCE_SUFFIX)temp = Noneexcept OSError: