-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow changing folder_paths.base_path via command line argument. #6600
Merged
comfyanonymous
merged 19 commits into
comfyanonymous:master
from
webfiltered:add-default-model-paths
Jan 29, 2025
Merged
Allow changing folder_paths.base_path via command line argument. #6600
comfyanonymous
merged 19 commits into
comfyanonymous:master
from
webfiltered:add-default-model-paths
Jan 29, 2025
+83
−10
Conversation
This file contains 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
- Update type hint to match actual usage. - Add re-usable function to add all default directories.
webfiltered
requested review from
yoland68,
robinjhuang,
huchenlei,
pythongosssss,
ltdrdata,
Kosinkadink and
comfyanonymous
as code owners
January 25, 2025 20:56
Revert "nit - Reorder default_paths back top top of file." This reverts commit fdfd81a. Revert "Extend add_model_folder_path for use with built-ins." This reverts commit a30d74d. Revert "Reorder to keep default model paths grouped together." This reverts commit 9c9a853. Revert "Update type hint to reflect actual usage." This reverts commit 74325a5. Revert "Allow default model paths to be re-used with other base paths." This reverts commit fa3d639. Revert "Allow complete reset of default directories under a new base_path." This reverts commit 6e3b261.
wibur0620
reviewed
Jan 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
robinjhuang
requested changes
Jan 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Synced offline. Can first make a PR with the simplest change: just import cli_args in folder_paths and set the base_path there.
robinjhuang
approved these changes
Jan 28, 2025
robinjhuang
added
the
Good PR
This PR looks good to go, it needs comfy's final review.
label
Jan 28, 2025
1 task
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.
Current
base_path
andmodels_dir
properties offolder_paths
are set during file import.Proposed (Updated w/requested refactor)