Instructions to use roktimsardar123/dpto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use roktimsardar123/dpto with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("roktimsardar123/dpto") prompt = "DPTO, sitting on a chair, relaxed, holding a phone" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse files- README.md +53 -0
- dpto.safetensors +3 -0
- dpto_000000500.safetensors +3 -0
- dpto_000000750.safetensors +3 -0
- dpto_000001000.safetensors +3 -0
- dpto_000001250.safetensors +3 -0
- samples/1746952005465__000001500_0.jpg +0 -0
- samples/1746952019042__000001500_1.jpg +0 -0
- samples/1746952032606__000001500_2.jpg +0 -0
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- flux
|
| 5 |
+
- lora
|
| 6 |
+
- diffusers
|
| 7 |
+
- template:sd-lora
|
| 8 |
+
- ai-toolkit
|
| 9 |
+
widget:
|
| 10 |
+
- text: DPTO, sitting on a chair, relaxed, holding a phone
|
| 11 |
+
output:
|
| 12 |
+
url: samples/1746952005465__000001500_0.jpg
|
| 13 |
+
- text: DPTO, portrait, mountain side
|
| 14 |
+
output:
|
| 15 |
+
url: samples/1746952019042__000001500_1.jpg
|
| 16 |
+
- text: DPTO, portrait, wearing a suit
|
| 17 |
+
output:
|
| 18 |
+
url: samples/1746952032606__000001500_2.jpg
|
| 19 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 20 |
+
instance_prompt: DPTO
|
| 21 |
+
license: other
|
| 22 |
+
license_name: flux-1-dev-non-commercial-license
|
| 23 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# dpto
|
| 27 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
| 28 |
+
<Gallery />
|
| 29 |
+
|
| 30 |
+
## Trigger words
|
| 31 |
+
|
| 32 |
+
You should use `DPTO` to trigger the image generation.
|
| 33 |
+
|
| 34 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
| 35 |
+
|
| 36 |
+
Weights for this model are available in Safetensors format.
|
| 37 |
+
|
| 38 |
+
[Download](/roktimsardar123/dpto/tree/main) them in the Files & versions tab.
|
| 39 |
+
|
| 40 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 41 |
+
|
| 42 |
+
```py
|
| 43 |
+
from diffusers import AutoPipelineForText2Image
|
| 44 |
+
import torch
|
| 45 |
+
|
| 46 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
| 47 |
+
pipeline.load_lora_weights('roktimsardar123/dpto', weight_name='dpto.safetensors')
|
| 48 |
+
image = pipeline('DPTO, sitting on a chair, relaxed, holding a phone').images[0]
|
| 49 |
+
image.save("my_image.png")
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
| 53 |
+
|
dpto.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ee7f1df7d5422be466b4737d4b2bd5982c75b86ddbfcf40bf608b6a18d87684
|
| 3 |
+
size 171969384
|
dpto_000000500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd4d517dc8c08d7b5a198a63172cc54aa313ad7e4f689d48d7f503af53c102ac
|
| 3 |
+
size 171969384
|
dpto_000000750.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21e54ada7a672d290d92a79c9d1c78d90bd3460c8bf25eedaf56c35479d48b9d
|
| 3 |
+
size 171969384
|
dpto_000001000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3df1425b288e80edbd0da2c3844e8b325ddffaad7c1e10ed4a9ee5dfc055dc9a
|
| 3 |
+
size 171969384
|
dpto_000001250.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb9ffdcc1a953a8b0847d533e90d35c18c306e85f3ce67e6ebc6fcda36daf423
|
| 3 |
+
size 171969384
|
samples/1746952005465__000001500_0.jpg
ADDED
|
samples/1746952019042__000001500_1.jpg
ADDED
|
samples/1746952032606__000001500_2.jpg
ADDED
|