Commit
•
0536dc1
1
Parent(s):
fd3f87e
Upload folder using huggingface_hub
Browse files- 4560006.jpeg +0 -0
- 4560026.jpeg +0 -0
- 4560036.jpeg +0 -0
- 4560046.jpeg +0 -0
- 4560051.jpeg +0 -0
- 4560056.jpeg +0 -0
- 4560063.jpeg +0 -0
- 4560092.jpeg +0 -0
- 4560112.jpeg +0 -0
- DD-xray-v1.safetensors +3 -0
- README.md +95 -0
4560006.jpeg
ADDED
4560026.jpeg
ADDED
4560036.jpeg
ADDED
4560046.jpeg
ADDED
4560051.jpeg
ADDED
4560056.jpeg
ADDED
4560063.jpeg
ADDED
4560092.jpeg
ADDED
4560112.jpeg
ADDED
DD-xray-v1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:309c3a00b6208d0766afacb89d5716926230513312630ef4d4077dd367cff132
|
3 |
+
size 228451788
|
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: bespoke-lora-trained-license
|
4 |
+
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Rent&allowDerivatives=True&allowDifferentLicense=False
|
5 |
+
tags:
|
6 |
+
- text-to-image
|
7 |
+
- stable-diffusion
|
8 |
+
- lora
|
9 |
+
- diffusers
|
10 |
+
- template:sd-lora
|
11 |
+
- skull
|
12 |
+
- x-ray
|
13 |
+
- style
|
14 |
+
- bones
|
15 |
+
- xray
|
16 |
+
- medical
|
17 |
+
- x ray
|
18 |
+
|
19 |
+
base_model: runwayml/stable-diffusion-v1-5
|
20 |
+
instance_prompt: xray
|
21 |
+
widget:
|
22 |
+
- text: 'xray crow in a tree'
|
23 |
+
output:
|
24 |
+
url: >-
|
25 |
+
4560006.jpeg
|
26 |
+
- text: 'xray pirate ship'
|
27 |
+
output:
|
28 |
+
url: >-
|
29 |
+
4560092.jpeg
|
30 |
+
- text: 'xray cat in a racecar'
|
31 |
+
output:
|
32 |
+
url: >-
|
33 |
+
4560036.jpeg
|
34 |
+
- text: 'xray daft punk'
|
35 |
+
output:
|
36 |
+
url: >-
|
37 |
+
4560046.jpeg
|
38 |
+
- text: 'xray eye of providence enclosed in a triangle'
|
39 |
+
output:
|
40 |
+
url: >-
|
41 |
+
4560051.jpeg
|
42 |
+
- text: 'xray mountain sunset'
|
43 |
+
output:
|
44 |
+
url: >-
|
45 |
+
4560056.jpeg
|
46 |
+
- text: 'xray mushroom cloud nuke explosion'
|
47 |
+
output:
|
48 |
+
url: >-
|
49 |
+
4560063.jpeg
|
50 |
+
- text: 'xray rocket ship flying to mars'
|
51 |
+
output:
|
52 |
+
url: >-
|
53 |
+
4560112.jpeg
|
54 |
+
- text: 'xray busy Tokyo city'
|
55 |
+
output:
|
56 |
+
url: >-
|
57 |
+
4560026.jpeg
|
58 |
+
|
59 |
+
---
|
60 |
+
|
61 |
+
# Doctor Diffusion's Xray XL LoRA
|
62 |
+
|
63 |
+
<Gallery />
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
## Model description
|
70 |
+
|
71 |
+
<p><span style="color:rgb(193, 194, 197)">Use "</span><strong>xray</strong><span style="color:rgb(193, 194, 197)">" in the front of your prompt.</span><br /><br /><strong>Experimental: </strong><span style="color:rgb(193, 194, 197)">This is the first version of this LoRA and it may not always work as desired. If you get poor results please share in the comments so I can improve v2.</span><br /><br /><span style="color:rgb(17, 17, 17)">☕ </span><span style="color:rgb(193, 194, 197)">Like what I do? </span><span style="color:rgb(17, 17, 17)">☕</span><br /><span style="color:rgb(17, 17, 17)">☕ </span><a target="_blank" rel="ugc" href="https://www.buymeacoffee.com/doctordiffusion">Donations allow me to continue to make more as an independent researcher</a><span style="color:rgb(193, 194, 197)">! </span><span style="color:rgb(17, 17, 17)">☕</span><br /><br /><strong>The history of x-rays:</strong><br />X-ray scans were first developed by Wilhelm Conrad Röntgen in 1895 and are widely used in medical diagnostics. They work by passing electromagnetic radiation through the body, capturing an image of internal structures like bones and organs based on their density. Over time, advancements have led to methods such as CT scans and MRI for more detailed imaging without ionizing radiation.</p>
|
72 |
+
|
73 |
+
## Trigger words
|
74 |
+
You should use `xray` to trigger the image generation.
|
75 |
+
|
76 |
+
|
77 |
+
## Download model
|
78 |
+
|
79 |
+
Weights for this model are available in Safetensors format.
|
80 |
+
|
81 |
+
[Download](/DoctorDiffusion/doctor-diffusion-s-xray-xl-lora/tree/main) them in the Files & versions tab.
|
82 |
+
|
83 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
84 |
+
|
85 |
+
```py
|
86 |
+
from diffusers import AutoPipelineForText2Image
|
87 |
+
import torch
|
88 |
+
|
89 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
|
90 |
+
pipeline.load_lora_weights('DoctorDiffusion/doctor-diffusion-s-xray-xl-lora', weight_name='DD-xray-v1.safetensors')
|
91 |
+
image = pipeline('xray busy Tokyo city').images[0]
|
92 |
+
```
|
93 |
+
|
94 |
+
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)
|
95 |
+
|