Update app.py
Browse files
app.py
CHANGED
@@ -92,15 +92,12 @@ def style_transfer(cont_img,styl_img):
|
|
92 |
#Start the timer
|
93 |
start_time = time.time()
|
94 |
|
95 |
-
# #Opening the image
|
96 |
-
# cont_img= Image.open(cont_img)
|
97 |
-
# styl_img=Image.open(styl_img)
|
98 |
-
|
99 |
-
|
100 |
#transform the input image
|
101 |
style_img = image_transform(styl_img)
|
102 |
content_img =image_transform(cont_img)
|
103 |
-
print(styl_img
|
|
|
|
|
104 |
#getting input image
|
105 |
input_img = content_img.clone()
|
106 |
|
|
|
92 |
#Start the timer
|
93 |
start_time = time.time()
|
94 |
|
|
|
|
|
|
|
|
|
|
|
95 |
#transform the input image
|
96 |
style_img = image_transform(styl_img)
|
97 |
content_img =image_transform(cont_img)
|
98 |
+
print(styl_img)
|
99 |
+
print(cont_img)
|
100 |
+
|
101 |
#getting input image
|
102 |
input_img = content_img.clone()
|
103 |
|