SD-CN-Animation: Gradio error on generation

Happens on both vid2vid and textvid after clicking ‘Generate’.

  File "/content/sd/lib/python3.10/site-packages/gradio/routes.py", line 337, in run_predict
    output = await app.get_blocks().process_api(
  File "/content/sd/lib/python3.10/site-packages/gradio/blocks.py", line 1015, in process_api
    result = await self.call_function(
  File "/content/sd/lib/python3.10/site-packages/gradio/blocks.py", line 843, in call_function
    raise ValueError("Need to enable queue to use generators.")
ValueError: Need to enable queue to use generators.

image

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 2
  • Comments: 18 (2 by maintainers)

Most upvoted comments

@Tenoke perhaps you have outdated A1111 webui. I had the same issue which is now gone after I’ve updated webui to the latest version

I’ve the latest version of the webui, I wonder if, perhaps, the -medvram option is incompatible with this extension.

I tried as well the --gradio-queue command, I ended up with another error code, TypeError: Button.update() got an unexpected keyword argument ‘interactive’

I had --no-gradio-queue in webui.bat, removing this line, and or, replacing it with --gradio-queue fixed this problem.

I’ve the latest version of the webui, I wonder if, perhaps, the -medvram option is incompatible with this extension.

I tried as well the --gradio-queue command, I ended up with another error code, TypeError: Button.update() got an unexpected keyword argument ‘interactive’

@Apatiste I don’t use any additional commands. Neither the medvram or gradio-queue, just what comes out of the box from A1111 webui repository. Try removing those commands to see if this helps.