ginipick commited on
Commit
dff76ab
·
verified ·
1 Parent(s): 56445b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -676,7 +676,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
676
  with gr.Row(equal_height=True):
677
  # 왼쪽 패널 (입력)
678
  with gr.Column(scale=1):
679
- with gr.Box(elem_classes="input-panel"):
680
  input_image = gr.Image(
681
  type="pil",
682
  label="Upload Image",
@@ -704,7 +704,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
704
  scale=1
705
  )
706
 
707
- with gr.Box(elem_classes="controls-panel", visible=False) as object_controls:
708
  with gr.Column(scale=1):
709
  with gr.Row():
710
  position = gr.State(value="bottom-center")
@@ -737,7 +737,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
737
 
738
  # 오른쪽 패널 (출력)
739
  with gr.Column(scale=1):
740
- with gr.Box(elem_classes="output-panel"):
741
  with gr.Tab("Result"):
742
  combined_image = gr.Image(
743
  label="Combined Result",
 
676
  with gr.Row(equal_height=True):
677
  # 왼쪽 패널 (입력)
678
  with gr.Column(scale=1):
679
+ with gr.Group(elem_classes="input-panel"): # Box를 Group으로 변경
680
  input_image = gr.Image(
681
  type="pil",
682
  label="Upload Image",
 
704
  scale=1
705
  )
706
 
707
+ with gr.Group(elem_classes="controls-panel", visible=False) as object_controls: # Box를 Group으로 변경
708
  with gr.Column(scale=1):
709
  with gr.Row():
710
  position = gr.State(value="bottom-center")
 
737
 
738
  # 오른쪽 패널 (출력)
739
  with gr.Column(scale=1):
740
+ with gr.Group(elem_classes="output-panel"): # Box를 Group으로 변경
741
  with gr.Tab("Result"):
742
  combined_image = gr.Image(
743
  label="Combined Result",