BoghosDavtyan
commited on
Delete README.md
Browse files
README.md
DELETED
@@ -1,38 +0,0 @@
|
|
1 |
-
---
|
2 |
-
license: other
|
3 |
-
license_name: flux-1-dev-non-commercial-license
|
4 |
-
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
5 |
-
language:
|
6 |
-
- en
|
7 |
-
tags:
|
8 |
-
- flux
|
9 |
-
- diffusers
|
10 |
-
- lora
|
11 |
-
base_model: "black-forest-labs/FLUX.1-dev"
|
12 |
-
pipeline_tag: text-to-image
|
13 |
-
instance_prompt: food photograph
|
14 |
-
---
|
15 |
-
|
16 |
-
# Food Photography
|
17 |
-
|
18 |
-
Trained on Replicate using:
|
19 |
-
|
20 |
-
https://replicate.com/ostris/flux-dev-lora-trainer/train
|
21 |
-
|
22 |
-
|
23 |
-
## Trigger words
|
24 |
-
You should use `food photograph` to trigger the image generation.
|
25 |
-
|
26 |
-
|
27 |
-
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
28 |
-
|
29 |
-
```py
|
30 |
-
from diffusers import AutoPipelineForText2Image
|
31 |
-
import torch
|
32 |
-
|
33 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
34 |
-
pipeline.load_lora_weights('BoghosDavtyan/food-photography', weight_name='lora.safetensors')
|
35 |
-
image = pipeline('your prompt').images[0]
|
36 |
-
```
|
37 |
-
|
38 |
-
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|