Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,9 +4,8 @@ from PIL import Image
|
|
| 4 |
# inference function takes prompt, negative prompt and image
|
| 5 |
def infer(prompt, negative_prompt, image):
|
| 6 |
# implement your inference function here
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
return output_image
|
| 10 |
|
| 11 |
title = "ControlNet on Canny Filter"
|
| 12 |
description = "This is a demo on ControlNet based 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 |
+
im = Image.open("cat_image.jpeg")
|
| 8 |
+
return im
|
|
|
|
| 9 |
|
| 10 |
title = "ControlNet on Canny Filter"
|
| 11 |
description = "This is a demo on ControlNet based on canny filter."
|