fix scpt
This commit is contained in:
parent
929d4dd7cf
commit
7aee2037fb
@ -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 "$*"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user