Running SDXL-Lightning on Google Colab

0xkoji - Feb 25 - - Dev Community

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player