IdaLee commited on
Commit
cf3ea1c
·
1 Parent(s): db6aa4e

Update pictureDeal2.py

Browse files
Files changed (1) hide show
  1. pictureDeal2.py +1 -1
pictureDeal2.py CHANGED
@@ -1,4 +1,3 @@
1
-
2
  import cv2
3
  from PIL import Image, ImageEnhance,ImageColor
4
  import gradio as gr
@@ -10,6 +9,7 @@ with gr.Blocks() as interface:
10
  with gr.Row():
11
  with gr.Accordion("1.请选择一张待加工图片"):
12
  img_input = gr.Image(label='图片',interactive=True)
 
13
  with gr.Accordion("2.可更换勾边颜色,点加工图片"):
14
  color = gr.ColorPicker(label="勾边颜色")
15
  section_btn = gr.Button("加工图片")
 
 
1
  import cv2
2
  from PIL import Image, ImageEnhance,ImageColor
3
  import gradio as gr
 
9
  with gr.Row():
10
  with gr.Accordion("1.请选择一张待加工图片"):
11
  img_input = gr.Image(label='图片',interactive=True)
12
+ with gr.Row():
13
  with gr.Accordion("2.可更换勾边颜色,点加工图片"):
14
  color = gr.ColorPicker(label="勾边颜色")
15
  section_btn = gr.Button("加工图片")