当前位置: 首页> 汽车> 车展 > 泰安58同城招聘网最新招聘_抖音代运营需要抖音什么条件_湖南知名网络推广公司_怎样建网站卖东西

泰安58同城招聘网最新招聘_抖音代运营需要抖音什么条件_湖南知名网络推广公司_怎样建网站卖东西

时间:2025/7/8 23:38:02来源:https://blog.csdn.net/jiao_zg/article/details/142472918 浏览次数: 0次
泰安58同城招聘网最新招聘_抖音代运营需要抖音什么条件_湖南知名网络推广公司_怎样建网站卖东西

在Ubuntu系统下,安装过程中需要下载大量的文件,如果直接从GitHub下载,可能会因为网络问题导致失败。中国大陆地区可以使用清华大学提供的镜像源来加速下载。

首先,你需要确保已经安装了git和curl。如果没有安装,可以使用以下命令安装:

sudo apt update
sudo apt install git curl

然后,你可以使用以下命令来下载并安装Stable Diffusion的Web UI:

cd ~
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
cd stable-diffusion-webui
git checkout webui-v4.9.1 # 切换到稳定的版本
 
# 修改install.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' install.sh
 
# 修改webui.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' webui.sh
 
# 修改download_dependencies.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' download_dependencies.sh
 
# 修改download_model.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/huggingface.co\//\/\/huggingface.bj.bcebos.com\/'\
'/stable-diffusion-webui\//g' download_model.sh
 
# 修改prereqs.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' prereqs.sh
 
# 修改download_models.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' download_models.sh
 
# 修改download_prompts.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' download_prompts.sh
 
# 修改download_ui.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' download_ui.sh
 
# 修改download_repositories.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' download_repositories.sh
 
# 修改download_repositories_and_models.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\//g' download_repositories_and_models.sh
 
# 修改download_repositories_and_models_v2.sh文件,使用清华大学的镜像源
sed -i 's/https:\/\/github.com\//\/\/git.code.tencent.com\/'\
'/stable-diffusion-webui\

关键字:泰安58同城招聘网最新招聘_抖音代运营需要抖音什么条件_湖南知名网络推广公司_怎样建网站卖东西

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: