Running SDXL-Lightning on Google Colab

0š¯•¸koji
Feb 24, 2024

--

The following image was generated by SDXL-Lightning.

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

We will need to add share=True to launch()before running app.py.

!python app.py

This will take some time since the Gradio app will need to download a few models.

After downloading models, you can see the link to open the Gradio app like below.

My google colab

--

--

0š¯•¸koji

software engineer works for a Biotechnology Research startup in Brooklyn. #CreativeCoding #Art #IoT #MachineLearning #python #typescript #javascript #reactjs