Spaces:
Sleeping
Sleeping
byeongjun-park
commited on
Commit
·
514b6ee
1
Parent(s):
b84546f
HarmonyView update
Browse files
app.py
CHANGED
@@ -193,7 +193,7 @@ def run_demo():
|
|
193 |
image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', tool=None, interactive=True)
|
194 |
elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle of the input image', interactive=True)
|
195 |
crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
|
196 |
-
background_removal = gr.Radio(["Input Image", "SAM Output"], value=["SAM Output"], label="Input to HarmonyView", info="Which image do you want for the input?")
|
197 |
|
198 |
# Compose demo layout & data flow.
|
199 |
with gr.Blocks(title=_TITLE, css="hf_demo/style.css") as demo:
|
|
|
193 |
image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', tool=None, interactive=True)
|
194 |
elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle of the input image', interactive=True)
|
195 |
crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
|
196 |
+
background_removal = gr.Radio(["Input Image", "SAM Output"], value=["SAM Output"], label="Input to HarmonyView", info="Which image do you want for the input to HarmonyView?")
|
197 |
|
198 |
# Compose demo layout & data flow.
|
199 |
with gr.Blocks(title=_TITLE, css="hf_demo/style.css") as demo:
|