kadirnar commited on
Commit
21de9e6
1 Parent(s): 50e9233

Update diffusion_webui/diffusion_models/text2img_app.py

Browse files
diffusion_webui/diffusion_models/text2img_app.py CHANGED
@@ -32,7 +32,7 @@ class StableDiffusionText2ImageGenerator:
32
 
33
  def generate_image(
34
  self,
35
- model_path: str,
36
  prompt: str,
37
  negative_prompt: str,
38
  num_images_per_prompt: int,
@@ -44,7 +44,7 @@ class StableDiffusionText2ImageGenerator:
44
  seed_generator=0,
45
  ):
46
  pipe = self.load_model(
47
- model_path=model_path,
48
  scheduler=scheduler,
49
  )
50
  if seed_generator == 0:
 
32
 
33
  def generate_image(
34
  self,
35
+ stable_model_path: str,
36
  prompt: str,
37
  negative_prompt: str,
38
  num_images_per_prompt: int,
 
44
  seed_generator=0,
45
  ):
46
  pipe = self.load_model(
47
+ stable_model_path=stable_model_path,
48
  scheduler=scheduler,
49
  )
50
  if seed_generator == 0: