Restore scripts/train_ui.py as a compat shim for external launchers - #1591
Merged
Conversation
PR Nerogar#1446 split train_ui.py into train_ui_qt.py/train_ui_ctk.py, which broke third-party launchers (e.g. Stability Matrix) that invoke scripts/train_ui.py directly instead of start-ui.bat/.sh. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/train_ui.pyintotrain_ui_qt.py/train_ui_ctk.py, but some third-party launchers (e.g. Stability Matrix) invokescripts/train_ui.pydirectly instead ofstart-ui.bat/.sh, which now fails with a missing-file error.scripts/train_ui.pyas a thin shim that forwards totrain_ui_qt.main(), so those launchers keep working whilestart-ui.bat/.shremain the recommended entry point.Drafted by Claude