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

Fixes: 'StyleShotNode' object has no attribute 'styleshot' #3

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

Conversation

rdancer
Copy link

@rdancer rdancer commented Aug 17, 2024

This fixes a problem when because of an incompatible version of the transformers package, the model does not load properly, prints a long warning to the comfyui.log, prints an error box in the web UI, and the execution halts.

This patch sets a known-good version as the minimum version in requirements.txt (the version could possibly be set lower; the upstream authors have tested this version, and so have I).

For people who face this problem, updating in the ComfyUI Manager will fix the issue.

Set minimum version for the transformers dependency in requirements.txt

See open-mmlab/StyleShot#11 (comment)

Set minimum version for the `transformers` dependency in requirements.txt

See open-mmlab/StyleShot#11 (comment)
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