Update app.py
Browse files
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("
|
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,
|