Instructions to use FireRedTeam/FireRed-Image-Edit-1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FireRedTeam/FireRed-Image-Edit-1.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FireRedTeam/FireRed-Image-Edit-1.1", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -51,9 +51,10 @@ Some real outputs produced by FireRed-Image-Edit across general editing.
|
|
| 51 |
|
| 52 |
### Portrait
|
| 53 |
<p align="center">
|
| 54 |
-
<
|
| 55 |
-
<
|
| 56 |
-
|
|
|
|
| 57 |
|
| 58 |
### Multi-image-fusion
|
| 59 |
<p align="center">
|
|
|
|
| 51 |
|
| 52 |
### Portrait
|
| 53 |
<p align="center">
|
| 54 |
+
<a href="https://github.com/FireRedTeam/FireRed-Image-Edit/raw/main/assets/showcase_portrait.png">
|
| 55 |
+
<img src="https://github.com/FireRedTeam/FireRed-Image-Edit/raw/main/assets/showcase_portrait.jpg" width="800"/>
|
| 56 |
+
</a>
|
| 57 |
+
<p>
|
| 58 |
|
| 59 |
### Multi-image-fusion
|
| 60 |
<p align="center">
|