Update app.py
Browse files
app.py
CHANGED
@@ -144,9 +144,9 @@ def infer(video_in, trim_value, prompt,
|
|
144 |
)
|
145 |
print(output_frame)
|
146 |
|
147 |
-
image = Image.open(output_frame)
|
148 |
#image = Image.fromarray(output_frame[0])
|
149 |
-
|
150 |
result_frames.append("_frame_" + str(i) + ".jpeg")
|
151 |
print("frame " + str(i) + "/" + str(n_frame) + ": done;")
|
152 |
|
|
|
144 |
)
|
145 |
print(output_frame)
|
146 |
|
147 |
+
#image = Image.open(output_frame)
|
148 |
#image = Image.fromarray(output_frame[0])
|
149 |
+
output_frame.save("_frame_" + str(i) + ".jpeg")
|
150 |
result_frames.append("_frame_" + str(i) + ".jpeg")
|
151 |
print("frame " + str(i) + "/" + str(n_frame) + ": done;")
|
152 |
|