deforum / deforum/sd-webui-deforum
[Bug]: Upscale not working on Linux Cloudserver (RunDiffusion)
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 407
- PR merge metrics
- No merged PRs in 30d
Description
### Have you read the latest version of the FAQ?
- [X] I have visited the FAQ page right now and my issue is not present there
### Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits of both this extension and the webui
### Are you using the latest version of the Deforum extension?
- [X] I have Deforum updated to the lastest version and I still have the issue.
### What happened?
Upscaling is not working while using Deforum on a Linux server in the cloud
### Steps to reproduce the problem
1. Click upscale in Output tab
2. Click Generate
### What should have happened?
Deforum video generates and then upscales
### WebUI and Deforum extension Commit IDs
Webui Commit - 89f9faa63388756314e8a1d96cf86bf5e0663045
deforum exten commit id - 0ed7c4c847d1a62e8ad46c36edd0adee5440402d
### Torch version
torch version 2.0.0+cu118 installed.
### On which platform are you launching the webui with the extension?
Cloud server (Linux)
### Deforum settings
https://gist.github.com/rundiffusion/cdc09eb426519c7537d3de9b804f6c81
### Webui core settings
https://gist.github.com/rundiffusion/65c8d84f9dc8b906bfb0837aa816b261
### Console logs
```Shell
https://gist.github.com/rundiffusion/69f57fbee36ff1003d4deb422060d33d
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on workspace user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc.so.4
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
Version: v1.2.1
Commit hash: 89f9faa63388756314e8a1d96cf86bf5e0663045
Installing requirements
Installing sd-dynamic-prompts requirements.txt
No module 'xformers'. Proceeding without it.
If submitting an issue on github, please provide the full startup log for debugging purposes.
Initializing Dreambooth
Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
Successfully installed fastapi-0.94.1 gitpython-3.1.31 google-auth-oauthlib-0.4.6 transformers-4.26.1
Does your project take forever to startup?
Repetitive dependency installation may be the reason.
Automatic1111's base project sets strict requirements on outdated dependencies.
If an extension is using a newer version, the dependency is uninstalled and reinstalled twice every startup.
[!] xformers NOT installed.
[+] torch version 2.0.0+cu118 installed.
[+] torchvision version 0.15.1+cu118 installed.
[+] accelerate version 0.18.0 installed.
[+] diffusers version 0.14.0 installed.
[+] transformers version 4.26.1 installed.
[+] bitsandbytes version 0.35.4 installed.
Launching Web UI with arguments: --listen --enable-insecure-extension-access
2023-05-24 03:58:55.356217: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-05-24 03:58:56.030006: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
No module 'xformers'. Proceeding without it.
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
ControlNet v1.1.179
ControlNet v1.1.179
Loading weights [6ce0161689] from /home/workspace/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
Creating model from config: /home/workspace/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded in 2.4s (load weights from disk: 0.1s, create model: 0.6s, apply weights to model: 0.8s, apply half(): 0.4s, move model to device: 0.5s).
*Deforum ControlNet support: enabled*
Running on local URL: http://0.0.0.0:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 10.8s (import torch: 2.7s, import gradio: 1.2s, import ldm: 0.3s, other imports: 0.8s, load scripts: 4.8s, create ui: 0.8s, gradio launch: 0.1s).
Deforum extension for auto1111 webui, v2.4b
Git commit: 0ed7c4c8 (Tue May 23 10:01:06 2023)
Saving animation frames to:
/home/workspace/stable-diffusion-webui/outputs/img2img-images/Deforum_20230524041807
Animation frame: 0/25
Seed: 3982779079
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
Not using an init image (doing pure txt2img)
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0 │ 0 │1.0025│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 25/25 [00:03<00:00, 7.25it/s]
Animation frame: 2/25 ███████████████████████▊ | 25/133 [00:02<00:11, 9.73it/s]
Creating in-between cadence frame: 0; tween:0.50;
Creating in-between cadence frame: 1; tween:1.00;
Seed: 3982779080
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬─────┬────┬────╮
│Steps│CFG│Denoise│Angle│Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼─────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.003│ 0 │ 0 │
╰─────┴───┴───────┴─────┴─────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.07it/s]
Animation frame: 4/25 ████████████████████████████████▍ | 34/133 [00:05<00:16, 6.01it/s]
Creating in-between cadence frame: 2; tween:0.50;
Creating in-between cadence frame: 3; tween:1.00;
Seed: 3982779081
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0035│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.08it/s]
Animation frame: 6/25 █████████████████████████████████████████ | 43/133 [00:06<00:11, 7.81it/s]
Creating in-between cadence frame: 4; tween:0.50;
Creating in-between cadence frame: 5; tween:1.00;
Seed: 3982779082
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0039│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.03it/s]
Animation frame: 8/25 █████████████████████████████████████████████████▋ | 52/133 [00:07<00:09, 8.40it/s]
Creating in-between cadence frame: 6; tween:0.50;
Creating in-between cadence frame: 7; tween:1.00;
Seed: 3982779083
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0042│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.02it/s]
Animation frame: 10/25 █████████████████████████████████████████████████████████▏ | 61/133 [00:09<00:08, 8.21it/s]
Creating in-between cadence frame: 8; tween:0.50;
Creating in-between cadence frame: 9; tween:1.00;
Seed: 3982779084
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0044│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.02it/s]
Animation frame: 12/25 █████████████████████████████████████████████████████████████████▊ | 70/133 [00:10<00:07, 8.33it/s]
Creating in-between cadence frame: 10; tween:0.50;
Creating in-between cadence frame: 11; tween:1.00;
Seed: 3982779085
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0045│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.00it/s]
Animation frame: 14/25 ██████████████████████████████████████████████████████████████████████████▍ | 79/133 [00:11<00:06, 8.59it/s]
Creating in-between cadence frame: 12; tween:0.50;
Creating in-between cadence frame: 13; tween:1.00;
Seed: 3982779086
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0044│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 9.98it/s]
Animation frame: 16/25 ███████████████████████████████████████████████████████████████████████████████████ | 88/133 [00:13<00:05, 8.66it/s]
Creating in-between cadence frame: 14; tween:0.50;
Creating in-between cadence frame: 15; tween:1.00;
Seed: 3982779087
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0042│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.00it/s]
Animation frame: 18/25 ███████████████████████████████████████████████████████████████████████████████████████████▌ | 97/133 [00:14<00:04, 8.38it/s]
Creating in-between cadence frame: 16; tween:0.50;
Creating in-between cadence frame: 17; tween:1.00;
Seed: 3982779088
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0039│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.01it/s]
Animation frame: 20/25 ███████████████████████████████████████████████████████████████████████████████████████████████████▍ | 106/133 [00:16<00:03, 8.35it/s]
Creating in-between cadence frame: 18; tween:0.50;
Creating in-between cadence frame: 19; tween:1.00;
Seed: 3982779089
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0035│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.00it/s]
Animation frame: 22/25 ███████████████████████████████████████████████████████████████████████████████████████████████████████████▉ | 115/133 [00:17<00:02, 8.64it/s]
Creating in-between cadence frame: 20; tween:0.50;
Creating in-between cadence frame: 21; tween:1.00;
Seed: 3982779090
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬─────┬────┬────╮
│Steps│CFG│Denoise│Angle│Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼─────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.003│ 0 │ 0 │
╰─────┴───┴───────┴─────┴─────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 9.98it/s]
Animation frame: 24/25 ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████▌ | 123/133 [00:18<00:01, 8.84it/s]
Creating in-between cadence frame: 22; tween:0.50;
Creating in-between cadence frame: 23; tween:1.00;
Seed: 3982779091
Prompt: tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera
Neg Prompt: nsfw, nude
╭─────┬───┬───────┬─────┬──────┬────┬────╮
│Steps│CFG│Denoise│Angle│ Zoom │Tr X│Tr Y│
├─────┼───┼───────┼─────┼──────┼────┼────┤
│ 25 │7.0│ 0.35 │ 0 │1.0025│ 0 │ 0 │
╰─────┴───┴───────┴─────┴──────┴────┴────╯
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 10.00it/s]
Deforum progress: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 133/133 [00:20<00:00, 6.51it/s]
Got a request to stitch frames to video using FFmpeg.
Frames:
/home/workspace/stable-diffusion-webui/outputs/img2img-images/Deforum_20230524041807/20230524041807_%09d.png
To Video:
/home/workspace/stable-diffusion-webui/outputs/img2img-images/Deforum_20230524041807/20230524041807.mp4
Stitching *video*...
Video stitching done in 0.52 seconds!
Upscaling raw output PNGs using realesr-animevideov3 at 2x...Error completing request
Arguments: ('task(v40d34li6sdui50)', None, False, None, '2D', 25, 'replicate', '0: (0)', '0: (1.0025+0.002*sin(1.25*3.14*t/30))', '0: (0)', '0: (0)', '0: (1.75)', '0: (0.5)', '0: (0.5)', '0: (0)', '0: (0)', '0: (0)', False, '0: (0)', '0: (0)', '0: (0)', '0: (53)', '0: (0.065)', '0: (0.65)', '0: (1.0)', '0: (7)', False, '0: (25)', '0: (70)', '0: (1)', False, '0: (200)', '0: (10000)', '0:(s), 1:(-1), "max_f-2":(-1), "max_f-1":(s)', '0:(1.5)', False, '0: (1)', '0: (0)', False, '0: ("Euler a")', False, '0: ("{video_mask}")', '0: ("{video_mask}")', False, '0: ("model1.ckpt"), 100: ("model2.safetensors")', False, '0: (2)', True, '0: (1.05)', False, '20230129210106', False, '0: (0)', False, '0: (1)', '0: (0.1)', '0: (5)', '0: (1)', '0: (0)', 'LAB', '', 1, False, False, 2, 'None', '0: (1)', 'None', '0: (1)', '0', 'perlin', 8, 8, 4, 0.5, True, 'Midas-3-Hybrid', 0.2, 'border', 'bicubic', False, 'https://deforum.github.io/a1/V1.mp4', 1, 0, -1, False, False, 'https://deforum.github.io/a1/VM1.mp4', '0:(0.5)', '0:(0.5)', '0:(1)', '0:(100)', '0:(0)', '0:(1)', False, 'None', True, 'None', False, False, 2, 'RAFT', 'None', False, 'None', False, 'None', False, False, '{\n "0": "tiny cute swamp bunny, highly detailed, intricate, ultra hd, sharp photo, crepuscular rays, in focus, by tomasz alen kopera",\n "30": "anthropomorphic clean cat, surrounded by fractals, epic angle and pose, symmetrical, 3d, depth of field, ruan jia and fenghua zhong",\n "60": "a beautiful coconut --neg photo, realistic",\n "90": "a beautiful durian, trending on Artstation"\n}\n ', '', 'nsfw, nude', 512, 512, True, False, False, 0, 0, -1, 'Euler a', 25, 'Deforum_{timestring}', 'iter', 1, False, 0.8, True, 'https://deforum.github.io/a1/I1.png', False, False, 'https://deforum.github.io/a1/M1.jpg', False, 1.0, 1.0, True, 4, 'fill', True, 4, 'ignore', 10.0, False, 15, False, False, 'C:/SD/20230124234916_%09d.png', 'None', 'https://deforum.github.io/a1/A1.mp3', True, '2x', 'realesr-animevideov3', True, False, 'None', 2, False, 2, False, '', True, False, '{\n "0": "https://deforum.github.io/a1/Gi1.png",\n "max_f/4-5": "https://deforum.github.io/a1/Gi2.png",\n "max_f/2-10": "https://deforum.github.io/a1/Gi3.png",\n "3*max_f/4-15": "https://deforum.github.io/a1/Gi4.jpg",\n "max_f-20": "https://deforum.github.io/a1/Gi1.png"\n}', '0:(0.75)', '0:(0.35)', '0:(0.25)', '0:(20)', '0:(0.075)', True, '', '', False, False, False, 'none', 'None', '0:(1)', '0:(0.0)', '0:(1.0)', 64, 64, 64, 'Inner Fit (Scale to Fit)', 'Balanced', False, True, '', '', False, False, False, 'none', 'None', '0:(1)', '0:(0.0)', '0:(1.0)', 64, 64, 64, 'Inner Fit (Scale to Fit)', 'Balanced', False, True, '', '', False, False, False, 'none', 'None', '0:(1)', '0:(0.0)', '0:(1.0)', 64, 64, 64, 'Inner Fit (Scale to Fit)', 'Balanced', False, True, '', '', False, False, False, 'none', 'None', '0:(1)', '0:(0.0)', '0:(1.0)', 64, 64, 64, 'Inner Fit (Scale to Fit)', 'Balanced', False, True, '', '', False, False, False, 'none', 'None', '0:(1)', '0:(0.0)', '0:(1.0)', 64, 64, 64, 'Inner Fit (Scale to Fit)', 'Balanced', False) {}
Traceback (most recent call last):
File "/home/workspace/stable-diffusion-webui/modules/call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "/home/workspace/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/home/workspace/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum_helpers/run_deforum.py", line 155, in run_deforum
make_upscale_v2(upscale_factor = video_args.r_upscale_factor, upscale_model = video_args.r_upscale_model, keep_imgs = video_args.r_upscale_keep_imgs, imgs_raw_path = args.outdir, imgs_batch_id = root.timestring, fps = video_args.fps, deforum_models_path = root.models_path, current_user_os = root.current_user_os, ffmpeg_location=f_location, stitch_from_frame=0, stitch_to_frame=max_video_frames, ffmpeg_crf=f_crf, ffmpeg_preset=f_preset, add_soundtrack = video_args.add_soundtrack ,audio_path=real_audio_track, srt_path=srt_path)
File "/home/workspace/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum_helpers/upscaling.py", line 143, in make_upscale_v2
process = subprocess.run(cmd, capture_output=True, check=True, text=True, cwd=(os.path.join(deforum_models_path, 'realesrgan_ncnn') if current_user_os == 'Mac' else None))
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/workspace/stable-diffusion-webui/models/Deforum/realesrgan_ncnn/realesrgan-ncnn-vulkan', '-i', '/home/workspace/stable-diffusion-webui/outputs/img2img-images/Deforum_20230524041807/20230524041807_upscaled/temp_raw_imgs_to_upscale', '-o', '/home/workspace/stable-diffusion-webui/outputs/img2img-images/Deforum_20230524041807/20230524041807_upscaled', '-s', '-1', '-n', 'realesr-animevideov3']' returned non-zero exit status 127.
Traceback (most recent call last):
File "/home/workspace/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 408, in run_predict
output = await app.get_blocks().process_api(
File "/home/workspace/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1318, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/home/workspace/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1221, in postprocess_data
self.validate_outputs(fn_index, predictions) # type: ignore
File "/home/workspace/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1196, in validate_outputs
raise ValueError(
ValueError: An event handler (f) didn't receive enough output values (needed: 4, received: 3).
Wanted outputs:
[gallery, textbox, textbox, html]
Received outputs:
[None, "", "
Time taken: 22.98s
Torch active/reserved: 11474/11578 MiB, Sys VRAM: 11751/16126 MiB (72.87%)
```
### Additional information
There's no "Reopen" button! Submitted a second issue. @hithereai
Contributor guide
Assessment
This issue has not been assessed yet.