Update README.md
Browse files
README.md
CHANGED
|
@@ -21,6 +21,13 @@ instance_prompt: pk
|
|
| 21 |
|
| 22 |
You should use `pk` to trigger the image generation.
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
from huggingface_hub import InferenceClient
|
| 25 |
client = InferenceClient("John6666/big-lust-v16-sdxl", token="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
|
| 26 |
|
|
|
|
| 21 |
|
| 22 |
You should use `pk` to trigger the image generation.
|
| 23 |
|
| 24 |
+
from diffusers import DiffusionPipeline
|
| 25 |
+
|
| 26 |
+
pipe = DiffusionPipeline.from_pretrained("John6666/big-lust-v1-sdxl")
|
| 27 |
+
|
| 28 |
+
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
| 29 |
+
image = pipe(prompt).images[0]
|
| 30 |
+
|
| 31 |
from huggingface_hub import InferenceClient
|
| 32 |
client = InferenceClient("John6666/big-lust-v16-sdxl", token="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
|
| 33 |
|