abidlabs HF staff commited on
Commit
ee3ab20
·
1 Parent(s): 32351a6

Update gradio_canny2image.py

Browse files
Files changed (1) hide show
  1. gradio_canny2image.py +2 -1
gradio_canny2image.py CHANGED
@@ -14,7 +14,8 @@ def create_demo(process, max_images=12):
14
  with gr.Row():
15
  with gr.Column():
16
  input_image = gr.Image(source='upload', type='numpy')
17
- prompt = gr.Textbox(label='Prompt', value="Hyperrealistic chocolate cake", visible=False)
 
18
  run_button = gr.Button('Bake a Cake')
19
  with gr.Row(visible=False):
20
  with gr.Accordion('Advanced options', open=False):
 
14
  with gr.Row():
15
  with gr.Column():
16
  input_image = gr.Image(source='upload', type='numpy')
17
+ with gr.Accordion("Modify prompt"):
18
+ prompt = gr.Textbox(label='Prompt (for better results, include the object in the prompt)', value="Hyperrealistic chocolate cake")
19
  run_button = gr.Button('Bake a Cake')
20
  with gr.Row(visible=False):
21
  with gr.Accordion('Advanced options', open=False):