Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ image_mask_list.sort()
|
|
189 |
|
190 |
|
191 |
@spaces.GPU
|
192 |
-
def run_local(base_image, base_mask, reference_image, ref_mask, seed, base_mask_option, ref_mask_option):
|
193 |
|
194 |
|
195 |
if base_mask_option == "Draw Mask":
|
@@ -359,7 +359,7 @@ with gr.Blocks() as demo:
|
|
359 |
text_prompt = gr.Textbox(label="Label")
|
360 |
|
361 |
with gr.Column(scale=1):
|
362 |
-
baseline_gallery = gr.Gallery(label='Output', show_label=True, elem_id="gallery", height=
|
363 |
with gr.Accordion("Advanced Option", open=True):
|
364 |
seed = gr.Slider(label="Seed", minimum=-1, maximum=999999999, step=1, value=666)
|
365 |
gr.Markdown("### Guidelines")
|
|
|
189 |
|
190 |
|
191 |
@spaces.GPU
|
192 |
+
def run_local(base_image, base_mask, reference_image, ref_mask, seed, base_mask_option, ref_mask_option, text_prompt):
|
193 |
|
194 |
|
195 |
if base_mask_option == "Draw Mask":
|
|
|
359 |
text_prompt = gr.Textbox(label="Label")
|
360 |
|
361 |
with gr.Column(scale=1):
|
362 |
+
baseline_gallery = gr.Gallery(label='Output', show_label=True, elem_id="gallery", height=721, columns=1)
|
363 |
with gr.Accordion("Advanced Option", open=True):
|
364 |
seed = gr.Slider(label="Seed", minimum=-1, maximum=999999999, step=1, value=666)
|
365 |
gr.Markdown("### Guidelines")
|