fffiloni commited on
Commit
8778c92
1 Parent(s): ceaadfa

Update train_dreambooth_lora_sdxl.py

Browse files
Files changed (1) hide show
  1. train_dreambooth_lora_sdxl.py +2 -0
train_dreambooth_lora_sdxl.py CHANGED
@@ -1352,12 +1352,14 @@ def main(args):
1352
  prompt=args.instance_prompt,
1353
  repo_folder=args.output_dir,
1354
  vae_path=args.pretrained_vae_model_name_or_path,
 
1355
  )
1356
  upload_folder(
1357
  repo_id=repo_id,
1358
  folder_path=args.output_dir,
1359
  commit_message="End of training",
1360
  ignore_patterns=["step_*", "epoch_*"],
 
1361
  )
1362
 
1363
  accelerator.end_training()
 
1352
  prompt=args.instance_prompt,
1353
  repo_folder=args.output_dir,
1354
  vae_path=args.pretrained_vae_model_name_or_path,
1355
+ token=args.hub_token
1356
  )
1357
  upload_folder(
1358
  repo_id=repo_id,
1359
  folder_path=args.output_dir,
1360
  commit_message="End of training",
1361
  ignore_patterns=["step_*", "epoch_*"],
1362
+ token=args.hub_token
1363
  )
1364
 
1365
  accelerator.end_training()