Skip to content

Commit

Permalink
fix(api): save prompt with wildcards replaced in EXIF data
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 9, 2023
1 parent 098873b commit 2cc4fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def str_params(
hash_map.update(dict(lora_pairs))

return (
f"{params.input_prompt or ''}\nNegative prompt: {params.input_negative_prompt or ''}\n"
f"{params.prompt or ''}\nNegative prompt: {params.negative_prompt or ''}\n"
f"Steps: {params.steps}, Sampler: {params.scheduler}, CFG scale: {params.cfg}, "
f"Seed: {params.seed}, Size: {size.width}x{size.height}, "
f"Model hash: {model_hash}, Model: {model_name}, "
Expand Down

0 comments on commit 2cc4fee

Please sign in to comment.