abidlabs HF staff commited on
Commit
c3fa8cd
1 Parent(s): c9cad3f

Update gradio_canny2image.py

Browse files
Files changed (1) hide show
  1. gradio_canny2image.py +6 -1
gradio_canny2image.py CHANGED
@@ -2,11 +2,16 @@
2
  # The original license file is LICENSE.ControlNet in this repo.
3
  import gradio as gr
4
 
 
 
 
 
 
5
 
6
  def create_demo(process, max_images=12):
7
  with gr.Blocks() as demo:
8
  with gr.Row():
9
- gr.Markdown('## Control Stable Diffusion with Canny Edge Maps')
10
  with gr.Row():
11
  with gr.Column():
12
  input_image = gr.Image(source='upload', type='numpy')
 
2
  # The original license file is LICENSE.ControlNet in this repo.
3
  import gradio as gr
4
 
5
+ DESCRIPTION = '''## Bake-a-Cake, powered by ControlNet"
6
+
7
+ Put a picture of anything, and ControlNet will turn it into a hyperrealistic cake:
8
+
9
+ '''
10
 
11
  def create_demo(process, max_images=12):
12
  with gr.Blocks() as demo:
13
  with gr.Row():
14
+ gr.Markdown(DESCRIPTION)
15
  with gr.Row():
16
  with gr.Column():
17
  input_image = gr.Image(source='upload', type='numpy')