Skip to content

Commit

Permalink
add use_dora check
Browse files Browse the repository at this point in the history
  • Loading branch information
chiral-carbon committed Apr 17, 2024
1 parent 4e3e587 commit fab8c37
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def save_model_card(
repo_folder=None,
vae_path=None,
):
lora = "lora" if not use_dora else "dora"

widget_dict = []
if images is not None:
for i, image in enumerate(images):
Expand Down

0 comments on commit fab8c37

Please sign in to comment.