merve HF Staff commited on
Commit
b25e713
·
1 Parent(s): 05bbf23

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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()