Running SDXL-Lightning on Google Colab

0xkoji

0xkoji

Posted on February 25, 2024

Running SDXL-Lightning on Google Colab

SDXL-Lightning
https://huggingface.co/spaces/AP123/SDXL-Lightning

Step 1. Clone repo & install packages

!git clone https://huggingface.co/spaces/AP123/SDXL-Lightning
cd SDXL-Lightning
!pip install transformers diffusers accelerate gradio
Enter fullscreen mode Exit fullscreen mode

Step 2. Modify app.py

Add share=True to launch()

Step 3. Run the app

!python app.py
Enter fullscreen mode Exit fullscreen mode

This step will take some time since the app requires to download a few models for each step.

Once you finish downloading models, you will see a link of the Gradio app and see something like below.

Gradio app

💖 💪 🙅 🚩
0xkoji
0xkoji

Posted on February 25, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Running SDXL-Lightning on Google Colab