StableDiffusionXL_Colab_Flask_Ngrok
-
Go to ngrok.com, get a free API token, locate the AUTHTOKEN
-
Open your Goggle Colab and paste the content from the
notebook.ipynb
-
Set the runtime to GPU
-
Replace
YOUR-AUTHTOKEN-HERE
with the token. -
Click on
Runtime -> Run all
-
In the output cell you should see a url similar to this: Running on
http://5fdc-104-196-187-169.ngrok.io
. Open this url and use your app.
Example app that demonstrates how to run a Flask app with a free GPU using Google Colab and ngrok.
- Read the blog post: free stable diffusion app with a gpu backend
- Watch the YouTube tutorial: https://youtu.be/wBCEDCiQh3Q