Spaces:
Sleeping
Sleeping
Commit
·
b785637
1
Parent(s):
5c2046f
HarmonyView update
Browse files
app.py
CHANGED
|
@@ -225,7 +225,7 @@ def run_demo():
|
|
| 225 |
with gr.Column(scale=0.8):
|
| 226 |
input_block = gr.Image(type='pil', image_mode='RGBA', label="Input to HarmonyView", height=256, interactive=False)
|
| 227 |
with gr.Accordion('Advanced options', open=True):
|
| 228 |
-
background_removal = gr.CheckboxGroup(["Original Image", "SAM Output"], label="Input to HarmonyView", info="Which image do you want for the input?")
|
| 229 |
cfg_scale_1 = gr.Slider(1.0, 5.0, 2.0, step=0.1, label='Classifier free guidance 1', info='How consistent to be with the input image', interactive=True)
|
| 230 |
cfg_scale_2 = gr.Slider(0.5, 1.5, 1.0, step=0.1, label='Classifier free guidance 2', info='How diverse a novel view to create', interactive=True)
|
| 231 |
seed = gr.Number(6033, label='Random seed', interactive=True)
|
|
|
|
| 225 |
with gr.Column(scale=0.8):
|
| 226 |
input_block = gr.Image(type='pil', image_mode='RGBA', label="Input to HarmonyView", height=256, interactive=False)
|
| 227 |
with gr.Accordion('Advanced options', open=True):
|
| 228 |
+
background_removal = gr.CheckboxGroup(["Original Image", "SAM Output"], value=["SAM Output"], label="Input to HarmonyView", info="Which image do you want for the input?")
|
| 229 |
cfg_scale_1 = gr.Slider(1.0, 5.0, 2.0, step=0.1, label='Classifier free guidance 1', info='How consistent to be with the input image', interactive=True)
|
| 230 |
cfg_scale_2 = gr.Slider(0.5, 1.5, 1.0, step=0.1, label='Classifier free guidance 2', info='How diverse a novel view to create', interactive=True)
|
| 231 |
seed = gr.Number(6033, label='Random seed', interactive=True)
|