HelloSun commited on
Commit
46c0537
1 Parent(s): a8198e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ model_id = "OpenVINO/LCM_Dreamshaper_v7-int8-ov"
19
  #pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
20
  pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
21
 
22
- batch_size, num_images, height, width = 1, 1, 2048, 2048
23
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
24
 
25
  #不可用lora
 
19
  #pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
20
  pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
21
 
22
+ batch_size, num_images, height, width = 1, 1, 1024, 1024
23
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
24
 
25
  #不可用lora