ryusei-iki
commited on
Commit
•
3b5bec6
1
Parent(s):
7dab4fa
解像度上げた
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def preprocess(content_img,style_img):
|
|
8 |
content_img = Image.fromarray(content_img.astype("uint8"), "RGB")
|
9 |
style_img = Image.fromarray(style_img.astype("uint8"), "RGB")
|
10 |
|
11 |
-
resize =
|
12 |
content_img = content_img.resize((resize, resize))
|
13 |
style_img = style_img.resize((resize, resize))
|
14 |
|
|
|
8 |
content_img = Image.fromarray(content_img.astype("uint8"), "RGB")
|
9 |
style_img = Image.fromarray(style_img.astype("uint8"), "RGB")
|
10 |
|
11 |
+
resize = 100
|
12 |
content_img = content_img.resize((resize, resize))
|
13 |
style_img = style_img.resize((resize, resize))
|
14 |
|