Hakureirm commited on
Commit
02e3a38
·
1 Parent(s): 0f3261d

美化UI界面:添加新布局和样式

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,10 +58,10 @@ with gr.Blocks(css=custom_css) as demo:
58
 
59
  with gr.Row():
60
  with gr.Column():
 
61
  input_image = gr.Image(
62
  label="上传图片 (Upload Image)",
63
- type="numpy",
64
- tool="select"
65
  )
66
  with gr.Row():
67
  clear_btn = gr.Button("清除 (Clear)", variant="secondary")
 
58
 
59
  with gr.Row():
60
  with gr.Column():
61
+ # 移除了 tool 参数
62
  input_image = gr.Image(
63
  label="上传图片 (Upload Image)",
64
+ type="numpy"
 
65
  )
66
  with gr.Row():
67
  clear_btn = gr.Button("清除 (Clear)", variant="secondary")