forplaytvplus commited on
Commit
a896fab
·
verified ·
1 Parent(s): b608e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -113,8 +113,6 @@ def generate(
113
  adapter_name2 = cached_loras[lora_key2]
114
  pipe.set_adapters([adapter_name1, adapter_name2], adapter_weights=[lora_scale, lora_scale2])
115
 
116
- # É SDXL 1.0 (NÃO SD 1.5)
117
- if is_sdxl:
118
  pipe.enable_model_cpu_offload()
119
  generator = torch.Generator().manual_seed(seed)
120
 
@@ -128,7 +126,6 @@ def generate(
128
  negative_prompt=negative_prompt,
129
  image=init_image,
130
  strength=strength_img2img,
131
- negative_prompt=negative_prompt,
132
  width=width,
133
  height=height,
134
  guidance_scale=guidance_scale_base,
 
113
  adapter_name2 = cached_loras[lora_key2]
114
  pipe.set_adapters([adapter_name1, adapter_name2], adapter_weights=[lora_scale, lora_scale2])
115
 
 
 
116
  pipe.enable_model_cpu_offload()
117
  generator = torch.Generator().manual_seed(seed)
118
 
 
126
  negative_prompt=negative_prompt,
127
  image=init_image,
128
  strength=strength_img2img,
 
129
  width=width,
130
  height=height,
131
  guidance_scale=guidance_scale_base,