Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files43 unmodified lines4445464748495039 unmodified lines9091929394959643 unmodified linesweight_name=LORA_WEIGHT_NAME,adapter_name="product_ad",)pipe.set_adapters("product_ad", adapter_strength=LORA_STRENGTH)print("[LOAD] Pipeline ready.")# Enable VAE tiling for higher resolutions39 unmodified linesprogress(0.05, desc="Encoding prompt...")# Set LoRA scalepipe.set_adapters("product_ad", adapter_strength=lora_scale)output = pipe(image=image,43 unmodified lines4445464748495039 unmodified lines9091929394959643 unmodified linesweight_name=LORA_WEIGHT_NAME,adapter_name="product_ad",)pipe.set_adapters("product_ad", adapter_weights=LORA_STRENGTH)print("[LOAD] Pipeline ready.")# Enable VAE tiling for higher resolutions39 unmodified linesprogress(0.05, desc="Encoding prompt...")# Set LoRA scalepipe.set_adapters("product_ad", adapter_weights=lora_scale)output = pipe(image=image,
app.py+2-2