Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
<h1>Overview</h1>
|
5 |
|
6 |
***Foundation***
|
@@ -43,4 +63,34 @@ This high-resolution capability allows for richly detailed and lifelike images.
|
|
43 |
|
44 |
***Text-to-Image Flexibility***: Users can input complex and nuanced text prompts, and the SDXL model can interpret and generate corresponding high quality images that are rich in detail and highly realistic.
|
45 |
|
46 |
-
For better results ,a model token needs to be included : **aqheodd**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
3 |
---
|
4 |
+
<h1 class="relative group flex items-center">
|
5 |
+
<span>
|
6 |
+
Diffusers
|
7 |
+
</span>
|
8 |
+
</h1>
|
9 |
+
<p>This model can be used just like any other Stable Diffusion model. For more information, please have a look at the <a target="_self" href="https://huggingface.co/docs/diffusers/v0.28.2/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline"> Stable Diffusion </a>.</p>
|
10 |
+
|
11 |
+
<div class="relative group repo-copy-code"><pre><code class="language-python"><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionXLPipeline
|
12 |
+
<span class="hljs-keyword">import</span> torch
|
13 |
+
|
14 |
+
model_path = <span class="hljs-string">"https://huggingface.co/aiscilabs/RealisticProXL_V0.1.0_alpha/blob/main/RealisticProXL_aqheodd_0.1.safetensors"</span>
|
15 |
+
pipe = StableDiffusionXLPipeline.from_single_file(model_path)
|
16 |
+
pipe = pipe.to(<span class="hljs-string">"cuda"</span>)
|
17 |
+
|
18 |
+
prompt = <span class="hljs-string">"YOUR PROMPT"</span>
|
19 |
+
image = pipe(prompt).images[<span class="hljs-number">0</span>]
|
20 |
+
|
21 |
+
image.save(<span class="hljs-string">"image.png"</span>)
|
22 |
+
</code></pre><button class="absolute top-3 right-3 transition opacity-0 group-hover:opacity-80"><svg class="" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="0.9em" height="0.9em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg></button></div>
|
23 |
+
|
24 |
<h1>Overview</h1>
|
25 |
|
26 |
***Foundation***
|
|
|
63 |
|
64 |
***Text-to-Image Flexibility***: Users can input complex and nuanced text prompts, and the SDXL model can interpret and generate corresponding high quality images that are rich in detail and highly realistic.
|
65 |
|
66 |
+
For better results ,a model token needs to be included : **aqheodd**
|
67 |
+
|
68 |
+
<h3 style="color:gray;margin-top:40px"> Diffuser model for this SD checkpoint on CIVITAI:</h3>
|
69 |
+
<p></p><a href="https://civitai.com/models/492985/realisticmodelproxlaqheodd">https://civitai.com/models/492985/realisticmodelproxlaqheodd</a> </p>
|
70 |
+
<h1 style="color:gray;margin-top:40px">Samples:</h1>
|
71 |
+
<table border="1" width="10%">
|
72 |
+
<tr>
|
73 |
+
<td width="35%">
|
74 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/5c598b23-c7cc-44cf-8363-7281e538c60c/width=450/2024-06-03_14-39-24_3270.jpeg"/>
|
75 |
+
</td>
|
76 |
+
<td>
|
77 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6468ed3c-6b59-4854-8cf7-f9c7ef9953f2/width=450/2024-06-03_11-54-53_2585.jpeg"/>
|
78 |
+
</td>
|
79 |
+
</tr>
|
80 |
+
<tr>
|
81 |
+
<td width="35%">
|
82 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/41c1bab9-4e9d-44e0-9b37-305edf34179c/width=450/2024-06-03_12-21-46_6321.jpeg"/>
|
83 |
+
</td>
|
84 |
+
<td>
|
85 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4e4b5166-68b6-4229-baae-c7f93fe7fd76/width=450/2024-06-03_12-40-42_7805.jpeg"/>
|
86 |
+
</td>
|
87 |
+
</tr>
|
88 |
+
<tr>
|
89 |
+
<td width="35%">
|
90 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/710efb67-da42-4b28-86b5-876595e18fdb/width=450/2024-06-03_12-28-02_5746.jpeg"/>
|
91 |
+
</td>
|
92 |
+
<td>
|
93 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/20771f05-cfb7-4973-9222-7fd327b00214/width=450/2024-06-03_15-44-39_7104.jpeg"/>
|
94 |
+
</td>
|
95 |
+
</tr>
|
96 |
+
</table>
|