Google Colab Setup Instructions

It’s mostly self-explanatory for a novice to use, but some people may be intimidated by the process.  Here are some basic Step-by-Step Instructions to Get Started…

  1. Open Colab Notebook in tab from https://StableDiffusionDeluxe.com
  2. If first time, login with Google Account and Agree. Should run on Free, but prefers Pro ($10/month).
  3. Optionally, goto Runtime>Change runtime type and select your GPU server.. Runs well on T4 with Standard or High-RAM for 20¢/hr, but faster runtimes are available.
  4. Click Connect and initialize server.  You can alternativly goto Runtime>Run All…
  5. Goto Run Stable Diffusion Deluxe – Easy Web App Launcher section, review settings (defaults fine), then click Run cell button.
  6. Window will popup asking you to select your Google Account and Connect to Google Drive.  Allow and continue.
  7. It may install updated transformers and accelerate packages, then Restart session and Run All again.
  8. It will initialize and give you an Endpoint IP Address in the console. Highlight address and Copy to Clipboard (Ctrl-c)
  9. Click on Launch URL with random loca.lt address, and let it open in new tab.
  10. Select field asking for Endpoint IP Address, then Paste from Clipboard (Ctrl-v)
  11. Press Click to Submit button, then wait for it to open Flet/Flutter User Interface.
  12. Now in app, you’re in the Settings tab.  Review preferences, change Color Theme, add metadata, etc.
  13. Get your HuggingFace API Key from their website, setup free account if you haven’t already.
  14. Paste HuggingFace Key into field.  Optionally put your API Keys from Stability.ai, OpenAI.com, Bard, etc.
  15. Goto Installation tab, check which components you want to Install in this session. Defaults are good to start.
  16. Press Run Installations button on bottom-right.  Each time you restart the App, you must run installs again.
  17. The Installers will initialize things in the background. You can explore the tabs and prepare to get started.
  18. When the Installing Pipelines banner goes away, you can Run your Diffusions to do whatever you want to do.
  19. Enjoy, explore, experiment… There’s a lot you can do, let your imagination go wild and fill-up your Drive!
  20. When you’re done with a creative session, go to Menu button on top right, then click Disconnect and Delete Runtime… to conserve credits.

Those are the basics to get up and running.  If you get a lot of usage out of the app and appreciate all the tools provided, please consider contributing a donation to support further development.

 

NOTE: Sometimes you need to switch back to the Colab tab to check the console for progress and errors. If you see any errors (happens), you’ll need to stop the running block, close the existing UI tab, and rerun the script.  Occasionally you have to Restart Runtime and run the two code blocks again to clear out the GPU memory.  Not too hard to do, reloads the second time pretty quickly.