Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,11 +32,11 @@ title = "Artistic Style Transfer"
|
|
32 |
content_img = gr.components.Image(label="Content image", type = "pil")
|
33 |
|
34 |
style_img_1 = gr.components.Image(label="Style images", type = "pil")
|
35 |
-
iw_1 = gr.components.Slider(0., 1., label = "Style 1
|
36 |
style_img_2 = gr.components.Image(label="Style images", type = "pil")
|
37 |
-
iw_2 = gr.components.Slider(0., 1., label = "Style 2
|
38 |
style_img_3 = gr.components.Image(label="Style images", type = "pil")
|
39 |
-
iw_3 = gr.components.Slider(0., 1., label = "Style 3
|
40 |
style_strength = gr.components.Slider(0., 1., label = "Adjust style strength")
|
41 |
preserve_color = gr.components.Dropdown(["None", "Whitening & Coloring", "Histogram matching"], label = "Choose color preserving mode")
|
42 |
|
|
|
32 |
content_img = gr.components.Image(label="Content image", type = "pil")
|
33 |
|
34 |
style_img_1 = gr.components.Image(label="Style images", type = "pil")
|
35 |
+
iw_1 = gr.components.Slider(0., 1., label = "Style 1 strength")
|
36 |
style_img_2 = gr.components.Image(label="Style images", type = "pil")
|
37 |
+
iw_2 = gr.components.Slider(0., 1., label = "Style 2 strength")
|
38 |
style_img_3 = gr.components.Image(label="Style images", type = "pil")
|
39 |
+
iw_3 = gr.components.Slider(0., 1., label = "Style 3 strength")
|
40 |
style_strength = gr.components.Slider(0., 1., label = "Adjust style strength")
|
41 |
preserve_color = gr.components.Dropdown(["None", "Whitening & Coloring", "Histogram matching"], label = "Choose color preserving mode")
|
42 |
|