s a second text-encoder to its architecture. Use the train_controlnet_sdxl.py script to train a ControlNet adapter for the SDXL model. The SDXL training script is discussed in more detail in the SDXL training guide.  Next steps Congratulations on training your own ControlNet! To learn more about how to use your new model, the following guides may be helpful: Learn how to use a ControlNet for inference on a variety of tasks.
