ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

Update main.swift

Open svenkevs opened this issue 2 years ago • 0 comments

See issue: https://github.com/apple/ml-stable-diffusion/issues/220

When running the --help argument (swift run StableDiffusionSample --help) the generated documentation calculates a random seed each time, and passes the result of the RNG as the default seed option.

The documentation implies that you have to provide some argument with --seed in order to get a random number, or otherwise it will provide the shown 'default value'. While this should be the other way around.

Run 1: --seed Random seed (default: 3944433010) Run 2: --seed Random seed (default: 1029080931) Run n: --seed Random seed (default: 769278928)

  • [x] I agree to the terms outlined in CONTRIBUTING.md

svenkevs avatar Jul 29 '23 23:07 svenkevs