HelloSun commited on
Commit
ca44ee8
·
verified ·
1 Parent(s): ce6f159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -10,6 +10,8 @@ model_id = "helenai/Linaqruf-anything-v3.0-ov"
10
 
11
  pipe = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
12
  pipe.reshape( batch_size=1, height=256, width=256, num_images_per_prompt=1)
 
 
13
  pipe.compile()
14
 
15
  def infer(prompt,negative_prompt):
 
10
 
11
  pipe = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
12
  pipe.reshape( batch_size=1, height=256, width=256, num_images_per_prompt=1)
13
+ pipe.scheduler = utils.get_scheduler(pipe.scheduler.config, "Euler a")
14
+
15
  pipe.compile()
16
 
17
  def infer(prompt,negative_prompt):