Instructions to use siraxe/H3_Image_experiments with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use siraxe/H3_Image_experiments 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("siraxe/H3_Image_experiments", dtype=torch.bfloat16, device_map="cuda") prompt = "Blend art into the image seamlessly , adjust to match , fill gaps" 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
|
@@ -13,7 +13,7 @@ widget:
|
|
| 13 |
text: "Blend the object into the image seamlessly"
|
| 14 |
- output:
|
| 15 |
url: img/4.png
|
| 16 |
-
text: "Blend the object into the image seamlessly ,
|
| 17 |
at night , dark night , (cyan sky:1.4) , top lighting"
|
| 18 |
- output:
|
| 19 |
url: img/3.png
|
|
|
|
| 13 |
text: "Blend the object into the image seamlessly"
|
| 14 |
- output:
|
| 15 |
url: img/4.png
|
| 16 |
+
text: "Blend the object into the image seamlessly ,
|
| 17 |
at night , dark night , (cyan sky:1.4) , top lighting"
|
| 18 |
- output:
|
| 19 |
url: img/3.png
|