Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
title = "ControlNet on Canny Filter"
|
2 |
+
description = "This is a demo on ControlNet based on canny filter."
|
3 |
+
|
4 |
+
examples = [["a cat with cake texture", "low quality", "cat_image.png"]]
|
5 |
+
gr.Interface(fn = infer, inputs = ["text", "text", "image"], outputs = "image",
|
6 |
+
title = title, description = description, examples = examples, theme='gradio/soft').launch()
|