menghanxia commited on
Commit
386b20e
1 Parent(s): 2a08d14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -43,9 +43,9 @@ with demo:
43
  """)
44
  with gr.Row():
45
  with gr.Column():
46
- with gr.Row():
47
- Image_input = gr.Image(type="numpy", label="Input", interactive=True).style(height=480)
48
- Image_anchor = gr.Image(type="numpy", label="Anchor", tool="color-sketch", interactive=True, visible=False).style(height=480)
49
  with gr.Row():
50
  Num_anchor = gr.Number(type="int", value=8, label="Num. of anchors (3~14)")
51
  Radio_resolution = gr.Radio(type="index", choices=["Low (256x256)", "High (512x512)"], \
 
43
  """)
44
  with gr.Row():
45
  with gr.Column():
46
+ with gr.Row().style(height=480):
47
+ Image_input = gr.Image(type="numpy", label="Input", interactive=True)
48
+ Image_anchor = gr.Image(type="numpy", label="Anchor", tool="color-sketch", interactive=True, visible=False)
49
  with gr.Row():
50
  Num_anchor = gr.Number(type="int", value=8, label="Num. of anchors (3~14)")
51
  Radio_resolution = gr.Radio(type="index", choices=["Low (256x256)", "High (512x512)"], \