Spaces:
Runtime error
Runtime error
Commit
·
7489eab
1
Parent(s):
1cd414e
up 9
Browse files
models.py
CHANGED
|
@@ -69,9 +69,10 @@ def make_image_controlnet(image: np.ndarray,
|
|
| 69 |
def make_inpainting(positive_prompt: str,
|
| 70 |
image: Image,
|
| 71 |
mask_image: np.ndarray,
|
| 72 |
-
negative_prompt: str
|
| 73 |
-
num_of_images: int
|
| 74 |
-
resolution:int
|
|
|
|
| 75 |
|
| 76 |
"""Method to make inpainting
|
| 77 |
Args:
|
|
|
|
| 69 |
def make_inpainting(positive_prompt: str,
|
| 70 |
image: Image,
|
| 71 |
mask_image: np.ndarray,
|
| 72 |
+
negative_prompt: str,
|
| 73 |
+
num_of_images: int,
|
| 74 |
+
resolution:int ) -> List[Image.Image]:
|
| 75 |
+
print("make_inpainting", positive_prompt, image, mask_image, negative_prompt, num_of_images, resolution)
|
| 76 |
|
| 77 |
"""Method to make inpainting
|
| 78 |
Args:
|