Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from optimum.intel.openvino.modeling_diffusion import OVModelVaeDecoder, OVBaseM
|
|
4 |
from huggingface_hub import snapshot_download
|
5 |
import openvino.runtime as ov
|
6 |
from typing import Optional, Dict
|
7 |
-
from diffusers import DiffusionPipeline, EulerDiscreteScheduler, KDPM2DiscreteScheduler
|
8 |
|
9 |
model_id = "hsuwill000/AngelBreed-v4-openvino-8bit"
|
10 |
|
@@ -41,7 +41,7 @@ pipe = OVStableDiffusionPipeline.from_pretrained(
|
|
41 |
use_safetensors=False,
|
42 |
)
|
43 |
|
44 |
-
pipe.scheduler = KDPM2DiscreteScheduler.from_config(pipe.scheduler.config)
|
45 |
|
46 |
|
47 |
"""
|
|
|
4 |
from huggingface_hub import snapshot_download
|
5 |
import openvino.runtime as ov
|
6 |
from typing import Optional, Dict
|
7 |
+
#from diffusers import DiffusionPipeline, EulerDiscreteScheduler, KDPM2DiscreteScheduler
|
8 |
|
9 |
model_id = "hsuwill000/AngelBreed-v4-openvino-8bit"
|
10 |
|
|
|
41 |
use_safetensors=False,
|
42 |
)
|
43 |
|
44 |
+
#pipe.scheduler = KDPM2DiscreteScheduler.from_config(pipe.scheduler.config)
|
45 |
|
46 |
|
47 |
"""
|