fffiloni commited on
Commit
7913792
1 Parent(s): 3433893

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ def infer(video_in, trim_value, prompt,
131
 
132
  for i, image in enumerate(frames_list[0:int(n_frame)]):
133
 
134
- conditioning_image = Image.open(image).convert("L") #convert to greyscale
135
  conditioning_image = np.array(image)
136
  output_frame = process_brightness(
137
  prompt,
 
131
 
132
  for i, image in enumerate(frames_list[0:int(n_frame)]):
133
 
134
+ conditioning_image = Image.open(image).convert("RGB")
135
  conditioning_image = np.array(image)
136
  output_frame = process_brightness(
137
  prompt,