Update README.md
Browse files
README.md
CHANGED
|
@@ -33,8 +33,8 @@ output = image_annotator(
|
|
| 33 |
annotation_task="<REFERRING_EXPRESSION_SEGMENTATION>",
|
| 34 |
annotation_prompt="the car",
|
| 35 |
annotation_output_type="mask_image",
|
| 36 |
-
)
|
| 37 |
-
output.
|
| 38 |
```
|
| 39 |
|
| 40 |
### Compose with Inpainting Pipeline
|
|
@@ -65,9 +65,8 @@ output = pipe(
|
|
| 65 |
annotation_prompt="the car",
|
| 66 |
annotation_output_type="mask_image",
|
| 67 |
num_inference_steps=30,
|
| 68 |
-
|
| 69 |
-
)
|
| 70 |
-
output[0].save("inpainted-car.png")
|
| 71 |
```
|
| 72 |
|
| 73 |
## Supported Tasks
|
|
|
|
| 33 |
annotation_task="<REFERRING_EXPRESSION_SEGMENTATION>",
|
| 34 |
annotation_prompt="the car",
|
| 35 |
annotation_output_type="mask_image",
|
| 36 |
+
).images[0]
|
| 37 |
+
output.save("car-mask.png")
|
| 38 |
```
|
| 39 |
|
| 40 |
### Compose with Inpainting Pipeline
|
|
|
|
| 65 |
annotation_prompt="the car",
|
| 66 |
annotation_output_type="mask_image",
|
| 67 |
num_inference_steps=30,
|
| 68 |
+
).images[0]
|
| 69 |
+
output.save("inpainted-car.png")
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
## Supported Tasks
|