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
Read settings.py as utf-8 in the palette filter test (#12105)
Daniel Han23e3fe9bae3b
diff --git a/tests/studio/test_personalization_unknown_palette.py b/tests/studio/test_personalization_unknown_palette.pyindex 2913f10811e..b8f19591a3b 100644--- a/tests/studio/test_personalization_unknown_palette.py+++ b/tests/studio/test_personalization_unknown_palette.py@@ -37,7 +37,7 @@ def test_known_or_missing_palette_is_untouched():def test_routes_read_and_answer_through_the_filter():- src = (Path(BACKEND) / "routes" / "settings.py").read_text()+ src = (Path(BACKEND) / "routes" / "settings.py").read_text(encoding = "utf-8")assert "drop_unknown_palette(get_personalization(), _PALETTE_IDS)" in srcassert ("PersonalizationPayload.model_validate(drop_unknown_palette(merged, _PALETTE_IDS))" in src