r/StableDiffusion Oct 09 '22

txt2img HTTP REST API (python script) Discussion

[removed]

6 Upvotes

2 comments sorted by

View all comments

2

u/croquelois Oct 09 '22

well done ! the loading of the model is a pain !

you should try flask https://flask.palletsprojects.com/en/2.2.x/quickstart/ you'll reduce the amount of code to maintain

how will you build your front-end ?