Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SarcasmDiffusion — SDXL Fused Meme Generator
|
| 2 |
+
|
| 3 |
+
Fine-tuning de **Stable Diffusion XL Base 1.0** usando **LoRA** para aprender el estilo visual de memes sarcásticos.
|
| 4 |
+
|
| 5 |
+
## Uso rápido
|
| 6 |
+
|
| 7 |
+
```python
|
| 8 |
+
from diffusers import AutoPipelineForText2Image
|
| 9 |
+
import torch
|
| 10 |
+
|
| 11 |
+
pipe = AutoPipelineForText2Image.from_pretrained("Ricardouchub/SarcasmDiffusion", torch_dtype=torch.float16).to("cuda")
|
| 12 |
+
|
| 13 |
+
img = pipe(
|
| 14 |
+
"sarcastic meme about running out of GPU VRAM at 3am, high contrast, stock photo style",
|
| 15 |
+
negative_prompt="nsfw, text overlay, low quality",
|
| 16 |
+
num_inference_steps=20, guidance_scale=6.5
|
| 17 |
+
).images[0]
|
| 18 |
+
|
| 19 |
+
img.show()
|