he train_text_to_image.py training script to help you become familiar with it, and how you can adapt it for your own use-case. Before running the script, make sure you install the library from source:   Copied git clone https://github.com/huggingface/diffusers
cd diffusers
pip install . Then navigate to the example folder containing the training script and install the required dependencies for the script you’re using: PyTorch Flax    Copied cd 