Instructions to use prithivMLmods/Qwen-Image-Edit-2511-Hyper-Realistic-Portrait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Qwen-Image-Edit-2511-Hyper-Realistic-Portrait 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("Qwen/Qwen-Image-Edit-2511", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/Qwen-Image-Edit-2511-Hyper-Realistic-Portrait") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
upload LoRA
Browse files- HRP_10.safetensors +3 -0
- HRP_15.safetensors +3 -0
- HRP_20.safetensors +3 -0
- HRP_5.safetensors +3 -0
- configuration.json +1 -0
HRP_10.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcadbd6ede502a3bfd2e994d47e472a26aec6682a8ff846c1d93ae0a4a57d3c1
|
| 3 |
+
size 236117032
|
HRP_15.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9020c3f16cc1a85363b9065a3987f459395f5d2e9a2d8422b81257ab71867a6
|
| 3 |
+
size 236117032
|
HRP_20.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb396dfd54465f435486b3116ae47e96e6b110a847217ece4f6e866ae1070312
|
| 3 |
+
size 236117032
|
HRP_5.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36e0efd56f281f9b6000dc68490a0f718a030613093b38400d285da21a070a96
|
| 3 |
+
size 236117032
|
configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"aigc_model":true,"framework":"pytorch","model_file_location":"HRP_20.safetensors","task":"text-to-image-synthesis"}
|