Thank you. I moved it onto one script for the pi, and one for pc. You can do it all on the kindle, but then you need to open stable diffusion up for your network, and I quite like getting the copy of the image in my pc folder too
You'd need to change the ip of your pc "stable_ip='192.168.0.2'" in "run_on_kindle.py", and change your kindle ip ("kindle_ip="192.168.0.213"") in run_on_pc.py
I also ran
iptables -A INPUT -p tcp --dport 5000 -i wlan0 -j ACCEPT
to open port 5000 on the kindle
and in stable diffusion I have the webui-user.bat set to:
set COMMANDLINE_ARGS= --xformers --api
to have the api running.
Last edited by superpomme; 03-05-2023 at 08:14 PM.
|