Instructions to use InstantX/InstantIR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use InstantX/InstantIR 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("InstantX/InstantIR", 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
Does the gradio app work?
#17 opened about 1 year ago
by
Gemneye
Upload Screenshot_20241215_202137_Instagram.jpg
#16 opened over 1 year ago
by
Ry0uhaface
Upload image (13).png
#15 opened over 1 year ago
by
onemonthfree
Upload IMG-20230221-WA0002.jpg
#14 opened over 1 year ago
by
Omkar12345
Upload 08b0811cb4f84917b8205e60b5c1b891.jpg
#13 opened over 1 year ago
by
Omkar12345
I really hope if there is a setup.py to save time to config
#12 opened over 1 year ago
by
qinbatista
Upload FB_IMG_17150626353831638.jpg
#11 opened over 1 year ago
by
Bidink
Upload FB_IMG_17150626353831638.jpg
#10 opened over 1 year ago
by
Bidink
Upload FB_IMG_17150626353831638.jpg
#9 opened over 1 year ago
by
Bidink
improve the sharpness of the photo
#8 opened over 1 year ago
by
aleksaevdosh
Upload 3 files
#7 opened over 1 year ago
by
aleksaevdosh
Upload IMG_1429.jpeg
#6 opened over 1 year ago
by
Devanpra
Upload IMG20241101180501.jpg
#4 opened over 1 year ago
by
donjon1989
Adding `safetensors` variant of this model
#3 opened over 1 year ago
by
SFconvertbot
Update README.md
#2 opened over 1 year ago
by
Venec
这个是干吗用的啊,有comfyui节点可以使用么
4
#1 opened over 1 year ago
by
demo001s