Readme
def train_replicate_sdxl_loras(): training = replicate.trainings.create( version=”stability-ai/sdxl:d830ba5dabf8090ec0db6c10fc862c6eb1c929e1a194a5411852d25fd954ac82”, input={ “input_images”: path_to_zip_training_images, “use_face_detection_instead”: True, “instance_prompt”: “A photo {name} {description}”.format(name=”TOK”, description=”man”), “class_prompt”: “a photo of a man”, }, destination=”pnickolas1/sdxl-dreambooth-loras-dev”, ) print(training)