HelloSun commited on
Commit
0a83ea8
1 Parent(s): 2147812

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -6,11 +6,12 @@ from diffusers import DiffusionPipeline
6
 
7
 
8
  # model_id = "echarlaix/sdxl-turbo-openvino-int8"
9
- # model_id = "echarlaix/LCM_Dreamshaper_v7-openvino"
 
10
 
11
  #safety_checker = StableDiffusionSafetyChecker.from_pretrained("CompVis/stable-diffusion-safety-checker")
12
 
13
- model_id = "OpenVINO/LCM_Dreamshaper_v7-int8-ov"
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