HelloSun commited on
Commit
16f3ee6
1 Parent(s): 1e30067

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,8 +18,9 @@ pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=Fa
18
  batch_size, num_images, height, width = 1, 1, 1024, 512
19
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
20
 
21
- pipeline.load_lora_weights("nerijs/pixel-art-xl", weight_name="pixel-art-xl.safetensors", adapter_name="pixel")
22
- pipeline.set_adapters("pixel")
 
23
 
24
 
25
  # 选择采样方法(调度器) 可以新增但是跑就死
 
18
  batch_size, num_images, height, width = 1, 1, 1024, 512
19
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
20
 
21
+ #不可用lora
22
+ #pipeline.load_lora_weights("nerijs/pixel-art-xl", weight_name="pixel-art-xl.safetensors", adapter_name="pixel")
23
+ #pipeline.set_adapters("pixel")
24
 
25
 
26
  # 选择采样方法(调度器) 可以新增但是跑就死