wolverinn / stable-diffusion-multi-user

stable diffusion multi-user django server code with multi-GPU load balancing
https://image.stable-ai.tech/
GNU General Public License v3.0
304 stars 64 forks source link

请问不用API的话要怎么解决多人模型切换问题和队列的问题呢? #2

Open WellTung666 opened 1 year ago

WellTung666 commented 1 year ago

公众号里似乎只讲了使用API的方法。

wolverinn commented 1 year ago

那就还是要用它的前端界面,我还没研究过

WholeWhales commented 2 months ago

应该是不行的,切换模型时的 Gradio Dropdown 组件 sd_model_checkpoint 是全局变量,且没办法搞定队列锁的问题