HelloSun commited on
Commit
fe0774e
·
verified ·
1 Parent(s): 3d65110

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ from diffusers import DiffusionPipeline
15
  model_id = "OpenVINO/LCM_Dreamshaper_v7-int8-ov"
16
  #pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
17
  pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
18
- pipeline.load_lora_weights("EvilEngine/easynegative")
19
 
20
  batch_size, num_images, height, width = 1, 1, 512, 512
21
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
 
15
  model_id = "OpenVINO/LCM_Dreamshaper_v7-int8-ov"
16
  #pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
17
  pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
18
+ pipeline.load_tf_weights("EvilEngine/easynegative")
19
 
20
  batch_size, num_images, height, width = 1, 1, 512, 512
21
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)