Giter Site home page Giter Site logo

Comments (4)

ryancom16 avatar ryancom16 commented on July 20, 2024

Is it because switch can have possible values "off" and "on" https://github.com/picturesonpictures/comfy_PoP/blob/main/LoraStackLoader10_PoP.py#L17

but is being evaluated against "None" ?
https://github.com/picturesonpictures/comfy_PoP/blob/main/LoraStackLoader10_PoP.py#L57

from comfy_pop.

ryancom16 avatar ryancom16 commented on July 20, 2024

Confirmed working if you change the following
if switch == 'None' or lora_name is None:
to
if switch == 'Off' or lora_name is None:

Will need to be updated here as well.
https://github.com/picturesonpictures/comfy_PoP/blob/main/LoraStackLoader_PoP.py#L45

from comfy_pop.

picturesonpictures avatar picturesonpictures commented on July 20, 2024

Thanks,

Confirmed working if you change the following if switch == 'None' or lora_name is None: to if switch == 'Off' or lora_name is None:

Will need to be updated here as well. https://github.com/picturesonpictures/comfy_PoP/blob/main/LoraStackLoader_PoP.py#L45

Thanks! Doing my best with these things. I'll have it fixed momentarily. Please let me know if you have any other issues that you believe need attention.

from comfy_pop.

picturesonpictures avatar picturesonpictures commented on July 20, 2024

Alright, the on/off switches should be good to go now. I tested them out and they're doing what should now. Again, I really appreciate you taking the time to let me know. if you ever have any other issues, ideas, etc, please don't hesitate to let me know.

from comfy_pop.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.