fffiloni commited on
Commit
8e27a40
·
verified ·
1 Parent(s): e644f55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -355,6 +355,8 @@ def propagate_to_all(video_in, checkpoint, stored_inference_state, stored_frame_
355
  mask_image.save(mask_filename) # Save the mask as a JPEG
356
  masks_frames.append(mask_filename) # Append to the list of masks
357
 
 
 
358
  # Define the output filename and save the figure as a JPEG file
359
  output_filename = os.path.join(frames_output_dir, f"frame_{out_frame_idx}.jpg")
360
  plt.savefig(output_filename, format='jpg')
 
355
  mask_image.save(mask_filename) # Save the mask as a JPEG
356
  masks_frames.append(mask_filename) # Append to the list of masks
357
 
358
+ print(f"MASKS FRAMES: {masks_frames}")
359
+
360
  # Define the output filename and save the figure as a JPEG file
361
  output_filename = os.path.join(frames_output_dir, f"frame_{out_frame_idx}.jpg")
362
  plt.savefig(output_filename, format='jpg')