应该是依赖版本不对,但不清除具体是要哪个版本
bug
Layer Divider Extension : applying configs to model..
Traceback (most recent call last):
File "/home/ubuntu/aigc/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "/home/ubuntu/aigc/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1326, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/home/ubuntu/aigc/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1260, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "/home/ubuntu/aigc/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py", line 4457, in postprocess
file = self.img_array_to_temp_file(img, dir=self.DEFAULT_TEMP_DIR)
File "/home/ubuntu/aigc/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py", line 355, in img_array_to_temp_file
return self.pil_to_temp_file(pil_image, dir, format="png")
TypeError: save_pil_to_file() got an unexpected keyword argument 'format'
-------------
环境,
python3.10.10
pip 23.2.1
pytoshop 1.2.1
Cython 3.0.0
onnx 1.13.1
numba 0.56.4
numpy 1.23.5
--
SD 1.3.2 torch: 2.0.1+cu118 • xformers: 0.0.19
2 条评论