IdaLee commited on
Commit
034b2de
·
1 Parent(s): 538cd04

Update pictureDeal2.py

Browse files
Files changed (1) hide show
  1. pictureDeal2.py +9 -4
pictureDeal2.py CHANGED
@@ -6,6 +6,7 @@ import numpy as np
6
  with gr.Blocks() as interface:
7
 
8
  with gr.Accordion("请选择一张图片"):
 
9
  img_input = gr.Image(label='请选择一张待加工图片')
10
 
11
  with gr.Accordion("每次调整参数后,点击【加工图片】按钮,得到图片的勾边"):
@@ -19,15 +20,19 @@ with gr.Blocks() as interface:
19
  with gr.Accordion("提供4种勾边效果,均可下载本地"):
20
  with gr.Row():
21
  closed_output0 = gr.Image(label='简单勾边')
22
-
23
- with gr.Row():
24
  closed_output1 = gr.Image(label='常规勾边')
 
 
 
 
25
 
26
  with gr.Row():
27
  closed_output2 = gr.Image(label='细致勾边')
28
-
29
- with gr.Row():
30
  closed_output3 = gr.Image(label='彩色勾边')
 
 
 
 
31
 
32
 
33
  # 调整模型结果参数
 
6
  with gr.Blocks() as interface:
7
 
8
  with gr.Accordion("请选择一张图片"):
9
+ # gr.Markdown("Look at me...")
10
  img_input = gr.Image(label='请选择一张待加工图片')
11
 
12
  with gr.Accordion("每次调整参数后,点击【加工图片】按钮,得到图片的勾边"):
 
20
  with gr.Accordion("提供4种勾边效果,均可下载本地"):
21
  with gr.Row():
22
  closed_output0 = gr.Image(label='简单勾边')
 
 
23
  closed_output1 = gr.Image(label='常规勾边')
24
+ # img_param_output0 = gr.Image(label='极简勾边')
25
+
26
+ # with gr.Row():
27
+ # img_param_output1 = gr.Image(label='简单勾边')
28
 
29
  with gr.Row():
30
  closed_output2 = gr.Image(label='细致勾边')
 
 
31
  closed_output3 = gr.Image(label='彩色勾边')
32
+ # img_param_output2 = gr.Image(label='细致勾边')
33
+
34
+ # with gr.Row():
35
+ # img_param_output3 = gr.Image(label='图片+勾边合成图')
36
 
37
 
38
  # 调整模型结果参数