Spaces:
Running
on
Zero
Running
on
Zero
Omer Karisman
commited on
Commit
·
90a9d0b
1
Parent(s):
44b3814
Fix inputs
Browse files
app.py
CHANGED
@@ -257,8 +257,12 @@ with gr.Blocks() as demo:
|
|
257 |
identity_image_strength_2 = gr.Slider(label="Strength",step=0.01, minimum=0.0, maximum=1.0, value=1.0)
|
258 |
with gr.Accordion("Advanced options", open=False):
|
259 |
with gr.Row():
|
260 |
-
|
261 |
-
|
|
|
|
|
|
|
|
|
262 |
with gr.Row():
|
263 |
seed = gr.Slider(label="Seed",step=1, minimum=0, maximum=10000000, value=42)
|
264 |
number_of_images = gr.Slider(label="Number of Outputs",step=1, minimum=1, maximum=4, value=1)
|
@@ -291,6 +295,8 @@ with gr.Blocks() as demo:
|
|
291 |
style_image_strength,
|
292 |
identity_image_strength,
|
293 |
identity_image_strength_2,
|
|
|
|
|
294 |
mask_guidance_start,
|
295 |
mask_guidance_end,
|
296 |
],
|
|
|
257 |
identity_image_strength_2 = gr.Slider(label="Strength",step=0.01, minimum=0.0, maximum=1.0, value=1.0)
|
258 |
with gr.Accordion("Advanced options", open=False):
|
259 |
with gr.Row():
|
260 |
+
with gr.Column():
|
261 |
+
style_image = gr.Image(label="Style Image")
|
262 |
+
style_image_strength = gr.Slider(label="Style Strength",step=0.01, minimum=0.0, maximum=1.0, value=1.0)
|
263 |
+
with gr.Column():
|
264 |
+
depth_image = gr.Image(label="Depth Image")
|
265 |
+
depth_image_strength = gr.Slider(label="Depth Strength",step=0.01, minimum=0.0, maximum=1.0, value=0.5)
|
266 |
with gr.Row():
|
267 |
seed = gr.Slider(label="Seed",step=1, minimum=0, maximum=10000000, value=42)
|
268 |
number_of_images = gr.Slider(label="Number of Outputs",step=1, minimum=1, maximum=4, value=1)
|
|
|
295 |
style_image_strength,
|
296 |
identity_image_strength,
|
297 |
identity_image_strength_2,
|
298 |
+
depth_image,
|
299 |
+
depth_image_strength,
|
300 |
mask_guidance_start,
|
301 |
mask_guidance_end,
|
302 |
],
|