Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/byeongjun-park/HarmonyView into main
Browse files
app.py
CHANGED
@@ -230,7 +230,7 @@ def run_demo():
|
|
230 |
fig1 = gr.Image(value=Image.open('assets/elevation.jpg'), type='pil', image_mode='RGB', height=256, show_label=False, tool=None, interactive=False)
|
231 |
|
232 |
with gr.Column(scale=0.8):
|
233 |
-
input_block = gr.
|
234 |
background_removal.render()
|
235 |
with gr.Accordion('Advanced options', open=False):
|
236 |
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 |
fig1 = gr.Image(value=Image.open('assets/elevation.jpg'), type='pil', image_mode='RGB', height=256, show_label=False, tool=None, interactive=False)
|
231 |
|
232 |
with gr.Column(scale=0.8):
|
233 |
+
input_block = gr.ImageEditor(type='pil', image_mode='RGBA', label="Input to HarmonyView", height=256, type=None, interactive=False)
|
234 |
background_removal.render()
|
235 |
with gr.Accordion('Advanced options', open=False):
|
236 |
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)
|