Spaces:
Runtime error
Runtime error
Update gradio_canny2image.py
Browse files- gradio_canny2image.py +3 -2
gradio_canny2image.py
CHANGED
@@ -10,8 +10,9 @@ def create_demo(process, max_images=12):
|
|
10 |
with gr.Row():
|
11 |
with gr.Column():
|
12 |
input_image = gr.Image(source='upload', type='numpy')
|
13 |
-
prompt = gr.Textbox(label='Prompt')
|
14 |
-
run_button = gr.Button(label='
|
|
|
15 |
with gr.Accordion('Advanced options', open=False):
|
16 |
num_samples = gr.Slider(label='Images',
|
17 |
minimum=1,
|
|
|
10 |
with gr.Row():
|
11 |
with gr.Column():
|
12 |
input_image = gr.Image(source='upload', type='numpy')
|
13 |
+
prompt = gr.Textbox(label='Prompt', value="Hyperrealistic chocolate cake", visible=False)
|
14 |
+
run_button = gr.Button(label='Bake a Cake')
|
15 |
+
with gr.Row(visible=False):
|
16 |
with gr.Accordion('Advanced options', open=False):
|
17 |
num_samples = gr.Slider(label='Images',
|
18 |
minimum=1,
|