@@ -237,13 +237,19 @@ def draw(self, context):
237237 warning_box = model_weights_box .box ()
238238 warning_box .label (text = "Make sure the file is renamed to 'model.ckpt', not 'sd-v1-4.ckpt'" , icon = "ERROR" )
239239 model_weights_box .operator (OpenWeightsDirectory .bl_idname , icon = "FOLDER_REDIRECT" )
240+
241+ if weights_installed and dependencies_installed :
242+ restart_box = layout .box ()
243+ restart_box .label (text = "Restart Blender" , icon = "FILE_REFRESH" )
244+ restart_box .label (text = "After installing Blender may need a restart." )
240245
241246 if dependencies_installed and weights_installed :
242247 is_valid_box = layout .box ()
243248 is_valid_box .label (text = "Validate Installation" , icon = "EXPERIMENTAL" )
244249 if is_install_valid is not None :
245250 if is_install_valid :
246251 is_valid_box .label (text = "Install validation succeeded." , icon = "CHECKMARK" )
252+ is_valid_box .label (text = "If nothing happens on your first generation, try restarting." )
247253 else :
248254 is_valid_box .label (text = "Install validation failed." , icon = "ERROR" )
249255 else :
@@ -510,7 +516,7 @@ def perform():
510516 # how strongly the prompt influences the image (7.5) (must be >1)
511517 cfg_scale = self .cfgscale ,
512518 # path to an initial image - its dimensions override width and height
513- init_img = scene .init_img .filepath if scene .init_img is not None else None ,
519+ init_img = scene .init_img .filepath if scene .init_img is not None and self . use_init_img else None ,
514520
515521 fit = self .fit ,
516522 # strength for noising/unnoising init_img. 0.0 preserves image exactly, 1.0 replaces it completely
0 commit comments