stable.py 300 B

12345678
  1. import os
  2. import sys
  3. firstarg=sys.argv[1]
  4. os.chdir('C:\\Users\\bigd\\Downloads\\stable-diffusion-main\\stable-diffusion-main')
  5. os.system('conda activate ldm && python optimizedSD/optimized_txt2img.py --prompt "' + firstarg + '" --H 512 --W 512 --seed 28 --n_iter 1 --n_samples 1 --ddim_steps 20')