abhishekkrthakur/diffuzers

Processes stuck when press multiple generate times

tungdq212 opened this issue · 0 comments

Hi,
When i build a basic streamlit app like you, click a button GENERATE to start generate images. But when click this button multiple times, a numbers of processes will be spawned, run parallel, fill GPU utility and all stuck. With your app, this problem is not happen, every processes is spawn and wait in a queue. I have read your code, but don't see how to fix mine. Can you help me?
Thanks.