Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

How to create more than 3 Input Params #35

Open
nux1111 opened this issue Dec 11, 2023 · 6 comments
Open

How to create more than 3 Input Params #35

nux1111 opened this issue Dec 11, 2023 · 6 comments

Comments

@nux1111
Copy link

nux1111 commented Dec 11, 2023

How can I create more input params when configuring a workflow UI?

@nux1111 nux1111 changed the title How to create more than 4 Input Params How to create more than 3 Input Params Dec 11, 2023
@xingren23
Copy link
Owner

I want ComfyFlow App to be simple and easy for users, so I limited the options to three inputs at most. The developers optimize the default settings through testing, which is better than letting users choose, especially for regular users who don't understand sd and comfyui.

@frankyifei
Copy link

For example, I am working on a workflow which upscale the result from Ksampler. if I set positive and negative prompt, then I want to choose checkpoint, that's 3 inputs already. what about other options such as aspect ratio, or enlarge ratio. Better to let users to decide.

@xingren23 xingren23 reopened this Dec 18, 2023
@xingren23
Copy link
Owner

When a creator wants to develop a workflow into a web application, they should start by putting aside the workflow itself and consider what conditions to use from the user's perspective. Imagine that the user is not aware of "Ksample," doesn't understand the difference between positive and negative prompts, and is also unfamiliar with the characteristics of various models. Exposing these complexities to the user can lead to confusion, and this is precisely the issue that Comfyflowapp aims to address.

Currently, it is not recommended to expose the aspect ratio or enlarge ratio parameters to the user.
these parameters (eg: aspect ratio or enlarge ratio) are required for every workflow, and perhaps there could be better solutions.

@SebSaga
Copy link

SebSaga commented Feb 6, 2024

I'd also like to be able to adjust the number of input (and output!) parameters. I noticed it's very easy to on the ComfyFlowApp website (literally a "+" icon) and was hoping there was something similar in the local version but there isnt.

My use case is actually for allowing myself to run the web app locally so I can generate on my phone from the couch LOL

I know what I'm doing in comfy (well, for the most part) and I'd like to be able to expand the web apps to accommodate my more advanced workflows.

I dug through the code and figured out a way to manually update specific blocks of code in new_app.py (chatGPT helped), but there has to be a better way.

@xingren23
Copy link
Owner

yes, creator could create ComfyFlow App with more input parameters online, https://comfyflow.app

I will add this feature to local version in the next version.

@gzjianzi
Copy link

@xingren23

yes, creator could create ComfyFlow App with more input parameters online, https://comfyflow.app

I will add this feature to local version in the next version.

请问开源版本还会继续更新吗?支持更多的输入参数。
谢谢

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants