Gradio-NameError: name 'process_user_input' is not defined

After running your code on my laptop, I discover that the key problem is that everytime I start to run the code, I put “%%blocks” in the first line of the code. It was that caused the problem of calling function in “main_pipeline” cannot be read. Do you know why?

1 Like