From 6f936ffaa947173ce3c219e1a21a46fb8027d601 Mon Sep 17 00:00:00 2001 From: Linoy Tsaban Date: Thu, 23 Nov 2023 10:59:00 +0200 Subject: [PATCH 1/2] readme bug fix --- examples/dreambooth/train_dreambooth_lora_sdxl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/dreambooth/train_dreambooth_lora_sdxl.py b/examples/dreambooth/train_dreambooth_lora_sdxl.py index dd7b29ca8842..241000e59d03 100644 --- a/examples/dreambooth/train_dreambooth_lora_sdxl.py +++ b/examples/dreambooth/train_dreambooth_lora_sdxl.py @@ -112,7 +112,7 @@ def save_model_card( img_str += f""" - text: '{validation_prompt if validation_prompt else ' ' }' output: - url: >- + url: "image_{i}.png" """ @@ -125,7 +125,6 @@ def save_model_card( - diffusers - lora - template:sd-lora -widget: {img_str} --- base_model: {base_model} From aa58fc4403389f1397e9a4d868d61607467671c3 Mon Sep 17 00:00:00 2001 From: Linoy Tsaban Date: Thu, 23 Nov 2023 09:16:45 +0000 Subject: [PATCH 2/2] style fix --- examples/dreambooth/train_dreambooth_lora_sdxl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dreambooth/train_dreambooth_lora_sdxl.py b/examples/dreambooth/train_dreambooth_lora_sdxl.py index 241000e59d03..9285c0e9fae7 100644 --- a/examples/dreambooth/train_dreambooth_lora_sdxl.py +++ b/examples/dreambooth/train_dreambooth_lora_sdxl.py @@ -112,7 +112,7 @@ def save_model_card( img_str += f""" - text: '{validation_prompt if validation_prompt else ' ' }' output: - url: + url: "image_{i}.png" """