kevinwang676
commited on
Commit
•
8f5dfc0
1
Parent(s):
3e7b674
Update app_canny.py
Browse files- app_canny.py +3 -3
app_canny.py
CHANGED
@@ -16,9 +16,9 @@ def create_demo(process):
|
|
16 |
with gr.Blocks() as demo:
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
-
image = gr.Image()
|
20 |
-
prompt = gr.Textbox(label="Prompt")
|
21 |
-
run_button = gr.Button("
|
22 |
with gr.Accordion("Advanced options", open=False):
|
23 |
num_samples = gr.Slider(
|
24 |
label="Number of images", minimum=1, maximum=MAX_NUM_IMAGES, value=DEFAULT_NUM_IMAGES, step=1
|
|
|
16 |
with gr.Blocks() as demo:
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
+
image = out1 #gr.Image()
|
20 |
+
prompt = gr.Textbox(label="Image Prompt")
|
21 |
+
run_button = gr.Button("Generate")
|
22 |
with gr.Accordion("Advanced options", open=False):
|
23 |
num_samples = gr.Slider(
|
24 |
label="Number of images", minimum=1, maximum=MAX_NUM_IMAGES, value=DEFAULT_NUM_IMAGES, step=1
|