Spaces:
Runtime error
Runtime error
Update gradio_canny2image.py
Browse files- gradio_canny2image.py +1 -1
gradio_canny2image.py
CHANGED
|
@@ -14,7 +14,7 @@ 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 |
-
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):
|
|
|
|
| 14 |
with gr.Row():
|
| 15 |
with gr.Column():
|
| 16 |
input_image = gr.Image(source='upload', type='numpy')
|
| 17 |
+
with gr.Accordion("Modify prompt", open=False):
|
| 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):
|