Instructions to use Edweibin/sophia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Edweibin/sophia 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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Edweibin/sophia") prompt = "a girl laughing" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Upload 4 files
Browse files- README.md +36 -0
- images/.DS_Store +0 -0
- images/image.webp +0 -0
- sophia.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- stable-diffusion
|
| 5 |
+
- lora
|
| 6 |
+
- diffusers
|
| 7 |
+
- template:sd-lora
|
| 8 |
+
widget:
|
| 9 |
+
- text: a girl laughing
|
| 10 |
+
output:
|
| 11 |
+
url: images/image.webp
|
| 12 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 13 |
+
instance_prompt: anything
|
| 14 |
+
license: cc-by-nc-4.0
|
| 15 |
+
---
|
| 16 |
+
# Pola Photo (Flux Dev)
|
| 17 |
+
|
| 18 |
+
<Gallery />
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
This model creates realistic pictures reminiscent of popular instant photo styles, such as Polaroid.
|
| 23 |
+
|
| 24 |
+
This was trained thanks to Replicate, on their platform. It was trained with open source materials and falls under the same license as Flux Dev, with the addition of CC non commercial with attribution for any additional elements.
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
## Trigger words
|
| 28 |
+
|
| 29 |
+
You should use `polaroid style` to trigger the image generation.
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
## Download model
|
| 33 |
+
|
| 34 |
+
Weights for this model are available in Safetensors format.
|
| 35 |
+
|
| 36 |
+
[Download](/Edweibin/flux-dev-nfsw/tree/main) them in the Files & versions tab.
|
images/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
images/image.webp
ADDED
|
sophia.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:423b9174641d3af15f92f8b246efc109d4eb5b0fc861bca085562e3a35a33395
|
| 3 |
+
size 173693520
|