Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def create_app():
|
|
25 |
|
26 |
with gr.Row():
|
27 |
with gr.Column():
|
28 |
-
content_input = gr.Image(label="Upload your content image", type="pil", height=
|
29 |
|
30 |
style_gallery = gr.Gallery(
|
31 |
label="Choose a style by clicking the image",
|
@@ -42,7 +42,7 @@ def create_app():
|
|
42 |
submit_btn = gr.Button("Stylize")
|
43 |
|
44 |
with gr.Column():
|
45 |
-
result_output = gr.Image(label="Stylized Result", type="pil", format="png", height=
|
46 |
|
47 |
submit_btn.click(
|
48 |
fn=lambda img, style: stylize_pil_image(img, style, models),
|
|
|
25 |
|
26 |
with gr.Row():
|
27 |
with gr.Column():
|
28 |
+
content_input = gr.Image(label="Upload your content image", type="pil", height=480)
|
29 |
|
30 |
style_gallery = gr.Gallery(
|
31 |
label="Choose a style by clicking the image",
|
|
|
42 |
submit_btn = gr.Button("Stylize")
|
43 |
|
44 |
with gr.Column():
|
45 |
+
result_output = gr.Image(label="Stylized Result", type="pil", format="png", height=480)
|
46 |
|
47 |
submit_btn.click(
|
48 |
fn=lambda img, style: stylize_pil_image(img, style, models),
|