MFLUX-WEBUI icon indicating copy to clipboard operation
MFLUX-WEBUI copied to clipboard

Advanced generated at PINOKIO "Error generate_image_gradio() takes 13 positional arguments but 17 were given"

Open BrunoPCH opened this issue 9 months ago • 9 comments

PINOKIO TERMINAL'S WRITE this:

Advanced generated TAB at PINOKIO "Error generate_image_gradio() takes 13 positional arguments but 17 were given"

/Users/mac/pinokio/api/MFLUX-WEBUI.git/app/env/lib/python3.10/site-packages/gradio/utils.py:980: UserWarning: Expected 13 arguments for function <function generate_image_gradio at 0x137cde290>, received 17.
  warnings.warn(
/Users/mac/pinokio/api/MFLUX-WEBUI.git/app/env/lib/python3.10/site-packages/gradio/utils.py:988: UserWarning: Expected maximum 13 arguments for function <function generate_image_gradio at 0x137cde290>, received 17.
  warnings.warn(
/Users/mac/pinokio/api/MFLUX-WEBUI.git/app/env/lib/python3.10/site-packages/gradio/utils.py:980: UserWarning: Expected 15 arguments for function <function generate_image_i2i_gradio at 0x137cdecb0>, received 19.
  warnings.warn(
/Users/mac/pinokio/api/MFLUX-WEBUI.git/app/env/lib/python3.10/site-packages/gradio/utils.py:988: UserWarning: Expected maximum 15 arguments for function <function generate_image_i2i_gradio at 0x137cdecb0>, received 19.
  warnings.warn(

Image

Could you help my? I dont have fundamentals of python THANKS

BrunoPCH avatar Feb 14 '25 02:02 BrunoPCH

I've got the same issues in "Advanced Generate" and "ControlNet" :(

Image Image

allbut0ne avatar Feb 14 '25 17:02 allbut0ne

Same error here.

Emasoft avatar Feb 25 '25 21:02 Emasoft

i`ve got the same one is there any solution?

banzai1301 avatar Feb 26 '25 19:02 banzai1301

also the same

twilwa avatar Mar 06 '25 04:03 twilwa

Same error as well......

Akossimon avatar Mar 10 '25 14:03 Akossimon

@Akossimon could try testing PR: https://github.com/CharafChnioune/MFLUX-WEBUI/pull/16/files

rovo79 avatar Mar 14 '25 01:03 rovo79

@Akossimon could try testing PR: https://github.com/CharafChnioune/MFLUX-WEBUI/pull/16/files

how would i need to go about it, since i am not a coder

Akossimon avatar Mar 14 '25 10:03 Akossimon

how would i need to go about it, since i am not a coder

Steps:

  1. Clone the Repository: Open a terminal and run:

    git clone https://github.com/CharafChnioune/MFLUX-WEBUI.git
    
  2. Navigate to the Repository Directory:

    cd MFLUX-WEBUI
    
  3. Checkout Your Pull Request Branch: Provide the branch name of PR and run:

    git fetch origin pull/16/head:pr-16
    

git checkout pr-16


4. **Install Dependencies:**
run the following command to install the necessary dependencies:
```sh
pip install -r requirements.txt
  1. Run the Project: start the project with:

    python main.py
    
  2. Test the Changes: Perform the actions that previously caused the error to verify if the issue is fixed.

rovo79 avatar Mar 14 '25 10:03 rovo79

i am running Pinokio on a mac and pinoiok installed MFLUX for me. i would not knwo what you mean with all these steps below.

On 14 Mar 2025, at 11:19, Robert Dean @.***> wrote:

rovo79 left a comment (CharafChnioune/MFLUX-WEBUI#14) how would i need to go about it, since i am not a coder

You can guide them through the process with these steps:

Clone the Repository: Ask them to open a terminal and run:

git clone https://github.com/CharafChnioune/MFLUX-WEBUI.git Navigate to the Repository Directory:

cd MFLUX-WEBUI Checkout Your Pull Request Branch: Provide the branch name of your PR and ask them to run:

git fetch origin pull/16/head:pr-16 git checkout pr-16

  1. Install Dependencies: Ask them to run the following command to install the necessary dependencies:
pip install -r requirements.txt
Run the Project:
Ask them to start the project with:

python main.py
Test the Changes:
Perform the actions that previously caused the error to verify if the issue is fixed.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

 <https://github.com/CharafChnioune/MFLUX-WEBUI/issues/14#issuecomment-2724249970> <https://github.com/notifications/unsubscribe-auth/ANLIMFIKZEDYBQTHBUKMXJL2UKUL3AVCNFSM6AAAAABXDTUZ32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMRUGI2DSOJXGA>

rovo79
 left a comment 
(CharafChnioune/MFLUX-WEBUI#14)
 <https://github.com/CharafChnioune/MFLUX-WEBUI/issues/14#issuecomment-2724249970>
how would i need to go about it, since i am not a coder

You can guide them through the process with these steps:

Clone the Repository:
Ask them to open a terminal and run:

git clone https://github.com/CharafChnioune/MFLUX-WEBUI.git
Navigate to the Repository Directory:

cd MFLUX-WEBUI
Checkout Your Pull Request Branch:
Provide the branch name of your PR and ask them to run:

git fetch origin pull/16/head:pr-16
git checkout pr-16


4. **Install Dependencies:**
Ask them to run the following command to install the necessary dependencies:
```sh
pip install -r requirements.txt
Run the Project:
Ask them to start the project with:

python main.py
Test the Changes:
Perform the actions that previously caused the error to verify if the issue is fixed.

—
Reply to this email directly, view it on GitHub <https://github.com/CharafChnioune/MFLUX-WEBUI/issues/14#issuecomment-2724249970>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ANLIMFIKZEDYBQTHBUKMXJL2UKUL3AVCNFSM6AAAAABXDTUZ32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMRUGI2DSOJXGA>.
You are receiving this because you were mentioned.


Akossimon avatar Mar 14 '25 11:03 Akossimon