Trains SDXL LoRAs using kohya-ss/sd-scripts. def _get_venv_python_path(sd_scripts_path): """Get the Python path for sd-scripts venv based on platform. Checks both .venv (uv default) and venv ...