Instructions to use peter-sushko/RealEdit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use peter-sushko/RealEdit 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("peter-sushko/RealEdit", 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
Download text_encoder/pytorch_model.bin from peter-sushko/RealEdit: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/peter-sushko/RealEdit/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://peter-sushko/RealEdit/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/peter-sushko/RealEdit/resolve/main/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- 62c830e819ad53c44ad3f654faec5f5759e94d16cb477bb8fb80f1695134a38a
- Size of remote file:
- 492 MB
- SHA256:
- 4b2a888f98b610f4666b5323f4012475cc752183ce3bbec3ccf25cf32cec03d7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.