Skip to content

Commit

Permalink
Passing kwargs to StableDiffusion experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
NivekT committed Aug 22, 2023
1 parent 31d3440 commit e1f55a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def run(
)
else:
client = DiffusionPipeline.from_pretrained(
model_combo["hf_model_path"], {k: call_combo[k] for k in call_combo if k != "prompt"}
model_combo["hf_model_path"], **{k: call_combo[k] for k in call_combo if k != "prompt"}
)
client.to("cuda")
for _ in range(runs):
Expand Down

0 comments on commit e1f55a3

Please sign in to comment.