hkproj / pytorch-stable-diffusion

Stable Diffusion implemented from scratch in PyTorch
https://www.youtube.com/watch?v=ZBKpAp_6TGI
MIT License
608 stars 138 forks source link

Create sd_api.py #18

Closed Esmail-ibraheem closed 1 month ago

Esmail-ibraheem commented 2 months ago

creating an interface for the stable diffusion using gradio interface, and another interface using fastAPI as web interface. here is the API code