Instructions to use PrunaAI/p-image-photos-modernism-art-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/p-image-photos-modernism-art-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PrunaAI/p-image-photos-modernism-art-lora") prompt = "DADADOLL style A figure with geometric shapes and bold colors in a surreal interior." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -86,7 +86,7 @@ Prompts used for the gallery above:
|
|
| 86 |
|
| 87 |
## LoRA scale
|
| 88 |
|
| 89 |
-
The gallery was generated with **`lora_scale=
|
| 90 |
|
| 91 |
## Use on Replicate
|
| 92 |
|
|
@@ -98,7 +98,7 @@ output = replicate.run(
|
|
| 98 |
input={
|
| 99 |
"prompt": "DADADOLL style your prompt here",
|
| 100 |
"lora_weights": "https://huggingface.co/davidberenstein1957/p-image-photos-modernism-art-lora/resolve/main/weights.safetensors",
|
| 101 |
-
"lora_scale":
|
| 102 |
"hf_api_token": "your-hf-token",
|
| 103 |
}
|
| 104 |
)
|
|
|
|
| 86 |
|
| 87 |
## LoRA scale
|
| 88 |
|
| 89 |
+
The gallery was generated with **`lora_scale=0.5`**. You can tune this when running inference (e.g. lower for a subtler effect, higher for a stronger style).
|
| 90 |
|
| 91 |
## Use on Replicate
|
| 92 |
|
|
|
|
| 98 |
input={
|
| 99 |
"prompt": "DADADOLL style your prompt here",
|
| 100 |
"lora_weights": "https://huggingface.co/davidberenstein1957/p-image-photos-modernism-art-lora/resolve/main/weights.safetensors",
|
| 101 |
+
"lora_scale": 0.5,
|
| 102 |
"hf_api_token": "your-hf-token",
|
| 103 |
}
|
| 104 |
)
|