@@ -624,35 +624,14 @@ def initialize_rootdir(root:str,yes_to_all:bool=False):
624624 print (f'You may also change the runtime directory by setting the environment variable INVOKEAI_ROOT.\n ' )
625625
626626 enable_safety_checker = True
627- default_sampler = 'k_heun'
628- default_steps = '20' # deliberately a string - see test below
629-
630- sampler_choices = ['ddim' ,'k_dpm_2_a' ,'k_dpm_2' ,'k_euler_a' ,'k_euler' ,'k_heun' ,'k_lms' ,'plms' ]
631-
632627 if not yes_to_all :
633628 print ('The NSFW (not safe for work) checker blurs out images that potentially contain sexual imagery.' )
634629 print ('It can be selectively enabled at run time with --nsfw_checker, and disabled with --no-nsfw_checker.' )
635630 print ('The following option will set whether the checker is enabled by default. Like other options, you can' )
636631 print (f'change this setting later by editing the file { Globals .initfile } .' )
637- print (f'The NSFW checker is a memory hog. If you have less than 6 GB of VRAM answer NO to this option.' )
632+ print (f"This is NOT recommended for systems with less than 6G VRAM because of the checker's memory requirements." )
638633 enable_safety_checker = yes_or_no ('Enable the NSFW checker by default?' ,enable_safety_checker )
639634
640- print ('\n The next choice selects the sampler to use by default. Samplers have different speed/performance' )
641- print ('tradeoffs. If you are not sure what to select, accept the default.' )
642- sampler = None
643- while sampler not in sampler_choices :
644- sampler = input (f'Default sampler to use? ({ ", " .join (sampler_choices )} ) [{ default_sampler } ]:' ) or default_sampler
645-
646- print ('\n The number of denoising steps affects both the speed and quality of the images generated.' )
647- print ('Higher steps often (but not always) increases the quality of the image, but increases image' )
648- print ('generation time. This can be changed at run time. Accept the default if you are unsure.' )
649- steps = ''
650- while not steps .isnumeric ():
651- steps = input (f'Default number of steps to use during generation? [{ default_steps } ]:' ) or default_steps
652- else :
653- sampler = default_sampler
654- steps = default_steps
655-
656635 safety_checker = '--nsfw_checker' if enable_safety_checker else '--no-nsfw_checker'
657636
658637 for name in ('models' ,'configs' ,'embeddings' ):
@@ -677,8 +656,6 @@ def initialize_rootdir(root:str,yes_to_all:bool=False):
677656
678657# generation arguments
679658{ safety_checker }
680- --sampler={ sampler }
681- --steps={ steps }
682659
683660# You may place other frequently-used startup commands here, one or more per line.
684661# Examples:
0 commit comments