Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -281,9 +281,9 @@ def track_video(n_frames,video_state):
|
|
| 281 |
output_frames.append(painted)
|
| 282 |
video_state["masks"] =mask_frames
|
| 283 |
video_file = f"/tmp/{time.time()}-{random.random()}-tracked_output.mp4"
|
| 284 |
-
print("line 281 done")
|
| 285 |
clip = ImageSequenceClip(output_frames, fps=15)
|
| 286 |
clip.write_videofile(video_file, codec='libx264', audio=False, verbose=False, logger=None)
|
|
|
|
| 287 |
return video_file,video_state
|
| 288 |
|
| 289 |
text = """
|
|
|
|
| 281 |
output_frames.append(painted)
|
| 282 |
video_state["masks"] =mask_frames
|
| 283 |
video_file = f"/tmp/{time.time()}-{random.random()}-tracked_output.mp4"
|
|
|
|
| 284 |
clip = ImageSequenceClip(output_frames, fps=15)
|
| 285 |
clip.write_videofile(video_file, codec='libx264', audio=False, verbose=False, logger=None)
|
| 286 |
+
print("line 286 done")
|
| 287 |
return video_file,video_state
|
| 288 |
|
| 289 |
text = """
|