Skip to content
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

do not overwrite "sams" in "folder_paths" if it is present #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bigcat88
Copy link

Without this small change, this node overwrites the sams value set by the extra_model_paths.yaml config, which is not very good.

A simple check to see if such an entry exists solves the problem.

bigcat88 added a commit to Visionatrix/Visionatrix that referenced this pull request Dec 17, 2024
Found why we couldn't do this before:

The `comfyui-art-venture` node overwrites the `sams` value of the
directory inside ComfyUI and what we specify via the standard legal
method using the ]extra_model_paths.yaml] file didn't work.

This PR fixes it, until it's merged I just made the same commit to our
fork:
sipherxyz/comfyui-art-venture#69

Now in new installs `sam_vit_b_01ec64.pth` file will be correctly placed
file in the normal "external" directory.

Signed-off-by: bigcat88 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant