diff --git a/.config/ai/scpt/arch.zsh b/.config/ai/scpt/arch.zsh index b2b7715..a260d8b 100755 --- a/.config/ai/scpt/arch.zsh +++ b/.config/ai/scpt/arch.zsh @@ -68,7 +68,7 @@ case "$1" in echo "machinectl reset done" ;; *) - sudo machinectl start $name + #sudo machinectl start $name t=`ssh $name "$*"` if [ -z "$t" ];then ssh -tt $name "$*" diff --git a/.config/ai/scpt/diffusers.zsh b/.config/ai/scpt/diffusers.zsh index b9cc437..0fd9c02 100755 --- a/.config/ai/scpt/diffusers.zsh +++ b/.config/ai/scpt/diffusers.zsh @@ -93,8 +93,8 @@ function run(){ if [ -f $f_sleep ];then rm $f_sleep fi - ssh ue "conda activate ldm;cd ./stable-diffusion/;python safe.py \'${q}\' ${m}" - scp -r ue:stable-diffusion/t.png $f + ssh diffusers "conda activate ldm;cd ./stable-diffusion/;python safe.py \'${q}\' ${m}" + scp -r diffusers:stable-diffusion/t.png $f if [ $? -ne 0 ];then touch $f_sleep fi