hsuwill000 commited on
Commit
c082d19
1 Parent(s): 29ee941

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -32,7 +32,7 @@ pipe = OVStableDiffusionPipeline.from_pretrained(
32
  safety_checker=None,
33
  use_safetensors=False,
34
  )
35
- pipe.scheduler.compatibles()
36
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
37
 
38
 
@@ -58,8 +58,8 @@ def infer(prompt,negative_prompt):
58
  negative_prompt = negative_prompt,
59
  width = WIDTH,
60
  height = HIGH,
61
- guidance_scale=1.0,
62
- num_inference_steps=6,
63
  num_images_per_prompt=1,
64
  ).images[0]
65
 
 
32
  safety_checker=None,
33
  use_safetensors=False,
34
  )
35
+ print(pipe.scheduler.compatibles)
36
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
37
 
38
 
 
58
  negative_prompt = negative_prompt,
59
  width = WIDTH,
60
  height = HIGH,
61
+ guidance_scale=7.5,
62
+ num_inference_steps=30,
63
  num_images_per_prompt=1,
64
  ).images[0]
65