Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,8 @@ import PIL
|
|
| 4 |
# inference function takes prompt, negative prompt and image
|
| 5 |
def infer(prompt, negative_prompt, image):
|
| 6 |
# implement your inference function here
|
| 7 |
-
|
|
|
|
| 8 |
return output_image
|
| 9 |
|
| 10 |
title = "ControlNet on Canny Filter"
|
|
|
|
| 4 |
# inference function takes prompt, negative prompt and image
|
| 5 |
def infer(prompt, negative_prompt, image):
|
| 6 |
# implement your inference function here
|
| 7 |
+
with Image.open("cat_image.jpeg") as im:
|
| 8 |
+
output_image = im
|
| 9 |
return output_image
|
| 10 |
|
| 11 |
title = "ControlNet on Canny Filter"
|