synchronization
This commit is contained in:
12
stable-diffusion-webui/builder.sh
Normal file
12
stable-diffusion-webui/builder.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 拉去文件
|
||||
cd /stable-diffusion-webui
|
||||
git init
|
||||
git remote add origin https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
|
||||
git pull origin master
|
||||
# 授权
|
||||
chown webui:webui -R /home/webui/
|
||||
chown webui:webui -R /stable-diffusion-webui/
|
||||
# 初始化文件
|
||||
su - webui -s /bin/bash -c "/stable-diffusion-webui/webui.sh --precision full --no-half --listen --skip-torch-cuda-test"
|
Reference in New Issue
Block a user