Skip to content

Commit

Permalink
fix: keyword argument mismatch (huggingface#6895)
Browse files Browse the repository at this point in the history
  • Loading branch information
bamps53 authored and Jimmy committed Apr 26, 2024
1 parent e0fa92f commit c85ea2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/custom_diffusion/train_custom_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def save_model_card(repo_id: str, images=None, base_model=str, prompt=str, repo_
from_training=True,
license="creativeml-openrail-m",
base_model=base_model,
instance_prompt=prompt,
prompt=prompt,
model_description=model_description,
inference=True,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/dreambooth/train_dreambooth.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def save_model_card(
from_training=True,
license="creativeml-openrail-m",
base_model=base_model,
instance_prompt=prompt,
prompt=prompt,
model_description=model_description,
inference=True,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/dreambooth/train_dreambooth_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def save_model_card(
from_training=True,
license="creativeml-openrail-m",
base_model=base_model,
instance_prompt=prompt,
prompt=prompt,
model_description=model_description,
inference=True,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/dreambooth/train_dreambooth_lora_sdxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def save_model_card(
from_training=True,
license="openrail++",
base_model=base_model,
instance_prompt=instance_prompt,
prompt=instance_prompt,
model_description=model_description,
widget=widget_dict,
)
Expand Down

0 comments on commit c85ea2b

Please sign in to comment.