AssertionError: function with index 85 not defined

在安装stable- diffusion-webui中,出现了如题bug,正是按照此博文来安装的gradio,这种情况暂时无法解决,现在重新安装及更新所有库,反正黑屏bug解决不了。

步骤如下:

conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 -c pytorch
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
pip install --upgrade fastapi==0.90.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

安装指定版本库:

pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host mirrors.cloud.aliyuncs.com

提示报错如下:

ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python

你可能感兴趣的:(Notebook,stable,diffusion,图像生成,大模型,xformers,codeformer)