hsuwill000 commited on
Commit
d915b16
1 Parent(s): 57c4088

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  from huggingface_hub import snapshot_download
8
  import openvino.runtime as ov
9
  from typing import Optional, Dict
10
-
11
 
12
 
13
  model_id = "hsuwill000/anything-v5-openvino"
@@ -29,6 +29,7 @@ pipe = OVStableDiffusionPipeline.from_pretrained(
29
  safety_checker=None,
30
  use_safetensors=False,
31
  )
 
32
 
33
 
34
 
 
7
  from huggingface_hub import snapshot_download
8
  import openvino.runtime as ov
9
  from typing import Optional, Dict
10
+ from diffusers import EulerDiscreteScheduler
11
 
12
 
13
  model_id = "hsuwill000/anything-v5-openvino"
 
29
  safety_checker=None,
30
  use_safetensors=False,
31
  )
32
+ pipe.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
33
 
34
 
35