stable-diffusion-studio icon indicating copy to clipboard operation
stable-diffusion-studio copied to clipboard

Access from local machine to remote AUTOMATIC1111

Open autumnmotor opened this issue 3 years ago • 0 comments

I currently have a M1MacMini (16GB), but it is very difficult to run "SD" on this machine from a performance point of view. So I mainly use SD on the cloud service paperspace (https://www.paperspace.com/). This takes a long time to rebuild the machine each time, but the SD itself is very fast and I like it.

I want to connect stable-diffusion-studio to my SD on a machine on this cloud. It seems that the current implementation only fixes the connection to "http://localhost:7860". But in "automatic1111.ts" of stable-diffusion-backend used by stable-diffusion-studio,

const url="http://localhost:7860" Change this to const url = process.argv.length>2 ? process.argv[2] : "http://localhost:7860"

If you add a public URL issued on the cloud (such as "https://********.gradio.app") to the program argument,

npm start https://********.gradio.app

Even on a weak local machine, stable-diffusion-studio (or SD) wo that is assisted by high-speed machine power on the cloud can be used.

Are you willing to adopt these ideas?

Translated by Google. Thank you for reading my poor English.

autumnmotor avatar Oct 27 '22 04:10 autumnmotor