Legola commited on
Commit
65947c9
·
1 Parent(s): 6aa7855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()