Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -382,7 +382,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
|
|
382 |
with gr.Tab(label="Single Image", id=0) as single_image_input_tab:
|
383 |
#image_prompt = gr.Image(label="Image Prompt", format="png", image_mode="RGBA", type="pil", height=300)
|
384 |
with gr.Column():
|
385 |
-
image_prompt = gr.ImageMask(type="pil", height=512)
|
386 |
with gr.Row():
|
387 |
sketch_btn = gr.Button("process sketch")
|
388 |
generate_btn = gr.Button("Generate 3D")
|
@@ -407,7 +407,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
|
|
407 |
minimum=1,
|
408 |
maximum=20,
|
409 |
step=1,
|
410 |
-
value=
|
411 |
)
|
412 |
guidance_scale = gr.Slider(
|
413 |
label="Guidance scale",
|
|
|
382 |
with gr.Tab(label="Single Image", id=0) as single_image_input_tab:
|
383 |
#image_prompt = gr.Image(label="Image Prompt", format="png", image_mode="RGBA", type="pil", height=300)
|
384 |
with gr.Column():
|
385 |
+
image_prompt = gr.ImageMask(type="pil", image_mode="RGB", height=512)
|
386 |
with gr.Row():
|
387 |
sketch_btn = gr.Button("process sketch")
|
388 |
generate_btn = gr.Button("Generate 3D")
|
|
|
407 |
minimum=1,
|
408 |
maximum=20,
|
409 |
step=1,
|
410 |
+
value=8,
|
411 |
)
|
412 |
guidance_scale = gr.Slider(
|
413 |
label="Guidance scale",
|