ControlNet icon indicating copy to clipboard operation
ControlNet copied to clipboard

Exception with Gradio application

Open Maeyon-Z opened this issue 2 years ago • 3 comments

"When I execute 'python gradio_seg.py', the Gradio program starts successfully, and I can access it in the browser. After uploading an image and clicking the 'Run' button, the right side of the Gradio application keeps loading, and eventually, the console outputs an exception: 'assert data is not None, "No event data" AssertionError: No event data.'"

Maeyon-Z avatar Nov 20 '23 06:11 Maeyon-Z

I also encountered the same problem. The browser could be opened, but after clicking ‘run’, it would keep loading but in the end no images were generated. But my error report is like this: pydantic core. pydantic core.ValidationError: 1 validation error for PredictBodyevent idFieldrequired [type=missing, input value=('fn index': 0, 'data': [...on hash': '9gacxj00ogg'), input type=dict]

Psycho-9 avatar Nov 20 '23 10:11 Psycho-9

I had the same issue, with "AssertionError: No event data." It's solved by updating the gradio version: pip install gradio==3.38.0 I followed the suggestion from another issue: https://github.com/lllyasviel/ControlNet/issues/475#issuecomment-1649835292

elvinyychen avatar Feb 28 '24 17:02 elvinyychen

I had the same issue, with "AssertionError: No event data." It's solved by updating the gradio version: pip install gradio==3.38.0 I followed the suggestion from another issue: #475 (comment)

谢谢~

Maeyon-Z avatar Feb 29 '24 00:02 Maeyon-Z