Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ img_2 = example_list[1][0]
|
|
101 |
print(img_1)
|
102 |
print(img_2)
|
103 |
#Defining the predict function
|
104 |
-
def style_transfer(cont_img=Image.open(img_1),styl_img=Image.open(img_2)):
|
105 |
|
106 |
#Start the timer
|
107 |
start_time = time.time()
|
|
|
101 |
print(img_1)
|
102 |
print(img_2)
|
103 |
#Defining the predict function
|
104 |
+
def style_transfer(cont_img=Image.open(img_1).convert('RGB'),styl_img=Image.open(img_2).convert('RGB')):
|
105 |
|
106 |
#Start the timer
|
107 |
start_time = time.time()
|