View Single Post
Old 03-05-2023, 07:58 PM   #3
superpomme
Enthusiast
superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!
 
Posts: 42
Karma: 100218
Join Date: May 2021
Device: kobo touch, k3, k4, Nook Simple touch
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.
Attached Files
File Type: py run_on_kindle.py (4.6 KB, 194 views)
File Type: py run_on_pc.py (3.2 KB, 192 views)

Last edited by superpomme; 03-05-2023 at 08:14 PM.
superpomme is offline   Reply With Quote