Instructions to use patrickvonplaten/new_inpaint_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use patrickvonplaten/new_inpaint_test with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("patrickvonplaten/new_inpaint_test", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit ·
d0c7686
1
Parent(s): 12f7d83
Update model_index.json
Browse files- model_index.json +3 -3
model_index.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
{
|
| 2 |
-
"_class_name": "
|
| 3 |
"_diffusers_version": "0.10.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
"CLIPImageProcessor"
|
| 7 |
],
|
| 8 |
"image_encoder": [
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
],
|
| 12 |
"requires_safety_checker": false,
|
| 13 |
"safety_checker": [
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "PaintByExamplePipeline",
|
| 3 |
"_diffusers_version": "0.10.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
"CLIPImageProcessor"
|
| 7 |
],
|
| 8 |
"image_encoder": [
|
| 9 |
+
"paint_by_example",
|
| 10 |
+
"PaintByExampleImageEncoder"
|
| 11 |
],
|
| 12 |
"requires_safety_checker": false,
|
| 13 |
"safety_checker": [
|