Spaces:
Runtime error
Runtime error
Update gradio_canny2image.py
Browse files- 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 |
-
|
|
|
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):
|