Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,11 +6,12 @@ from diffusers import DiffusionPipeline
|
|
| 6 |
|
| 7 |
|
| 8 |
# model_id = "echarlaix/sdxl-turbo-openvino-int8"
|
| 9 |
-
|
|
|
|
| 10 |
|
| 11 |
#safety_checker = StableDiffusionSafetyChecker.from_pretrained("CompVis/stable-diffusion-safety-checker")
|
| 12 |
|
| 13 |
-
|
| 14 |
#pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
|
| 15 |
pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
|
| 16 |
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
# model_id = "echarlaix/sdxl-turbo-openvino-int8"
|
| 9 |
+
model_id = "echarlaix/LCM_Dreamshaper_v7-openvino"
|
| 10 |
+
# model_id = "OpenVINO/LCM_Dreamshaper_v7-int8-ov"
|
| 11 |
|
| 12 |
#safety_checker = StableDiffusionSafetyChecker.from_pretrained("CompVis/stable-diffusion-safety-checker")
|
| 13 |
|
| 14 |
+
|
| 15 |
#pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
|
| 16 |
pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
|
| 17 |
|