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
|
@@ -10,7 +10,7 @@ pretty_name: MiniMax-H3-Image experiments
|
|
| 10 |
widget:
|
| 11 |
- output:
|
| 12 |
url: img/5.png
|
| 13 |
-
text: "Blend the object into the image seamlessly , put him behind"
|
| 14 |
- output:
|
| 15 |
url: img/2.png
|
| 16 |
text: "Blend the object into the image seamlessly"
|
|
|
|
| 10 |
widget:
|
| 11 |
- output:
|
| 12 |
url: img/5.png
|
| 13 |
+
text: "Blend the object into the image seamlessly , put him behind , make them halfway in water , waves splashing "
|
| 14 |
- output:
|
| 15 |
url: img/2.png
|
| 16 |
text: "Blend the object into the image seamlessly"
|