Commit
·
9e70b14
1
Parent(s):
ab75230
Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ base_model: stabilityai/stable-diffusion-xl-base-1.0
|
|
9 |
instance_prompt: <s0><s1>
|
10 |
inference: false
|
11 |
---
|
12 |
-
# sdxl-zelda64 LoRA by [jbilcke](https://replicate.com/jbilcke)
|
13 |
### A SDXL LoRA inspired by Zelda games on Nintendo 64
|
14 |
|
15 |
![lora_image](https://tjzk.replicate.delivery/models_models_cover_image/c8b21524-342a-4dd2-bb01-3e65349ed982/image_12.jpeg)
|
@@ -57,12 +57,12 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
57 |
variant="fp16",
|
58 |
).to("cuda")
|
59 |
|
60 |
-
load_lora_weights("
|
61 |
|
62 |
text_encoders = [pipe.text_encoder, pipe.text_encoder_2]
|
63 |
tokenizers = [pipe.tokenizer, pipe.tokenizer_2]
|
64 |
|
65 |
-
embedding_path = hf_hub_download(repo_id="
|
66 |
embhandler = TokenEmbeddingsHandler(text_encoders, tokenizers)
|
67 |
embhandler.load_embeddings(embedding_path)
|
68 |
prompt="Link working as a pizza delivery driver, on a scooter, in new york, in the style of <s0><s1>"
|
|
|
9 |
instance_prompt: <s0><s1>
|
10 |
inference: false
|
11 |
---
|
12 |
+
# sdxl-zelda64 LoRA by Julian BILCKE (HF: [jbilcke-hf](https://huggingface.co/jbilcke-hf), Replicate: [jbilcke](https://replicate.com/jbilcke))
|
13 |
### A SDXL LoRA inspired by Zelda games on Nintendo 64
|
14 |
|
15 |
![lora_image](https://tjzk.replicate.delivery/models_models_cover_image/c8b21524-342a-4dd2-bb01-3e65349ed982/image_12.jpeg)
|
|
|
57 |
variant="fp16",
|
58 |
).to("cuda")
|
59 |
|
60 |
+
load_lora_weights("jbilcke-hf/sdxl-zelda64", weight_name="lora.safetensors")
|
61 |
|
62 |
text_encoders = [pipe.text_encoder, pipe.text_encoder_2]
|
63 |
tokenizers = [pipe.tokenizer, pipe.tokenizer_2]
|
64 |
|
65 |
+
embedding_path = hf_hub_download(repo_id="jbilcke-hf/sdxl-zelda64", filename="embeddings.pti", repo_type="model")
|
66 |
embhandler = TokenEmbeddingsHandler(text_encoders, tokenizers)
|
67 |
embhandler.load_embeddings(embedding_path)
|
68 |
prompt="Link working as a pizza delivery driver, on a scooter, in new york, in the style of <s0><s1>"
|