Git Product home page Git Product logo

Comments (3)

ljleb avatar ljleb commented on August 22, 2024 1

I think a simpler solution is to create a gradio component that receives the random uuid from the client side (i.e. by setting the js value of a text component). Then, from python, we can pass this id along with the rest of the components in process to detect the current webui id.

from sd-webui-comfyui.

PladsElsker avatar PladsElsker commented on August 22, 2024

for me later
https://github.com/ModelSurge/sd-webui-comfyui/pull/63/files#diff-b392fd2ef2cf5920b8d60bf44eac3f8f1f51a231f3e319d75f9c634f2d1facd9R88

from sd-webui-comfyui.

PladsElsker avatar PladsElsker commented on August 22, 2024

Maybe we could require users to specify what launches a group of workflows?

For examle, in the txt2img and img2img tabs, that would be the "generate" button. In extras, same thing.

Maybe we could add an api for that?

Each time a registered UI component is clicked, the associated webui id would be selected.

from sd-webui-comfyui.

Related Issues (20)

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.