From e1458eda326fdd3bb1de6bbfd9ea66e91bc4c9a9 Mon Sep 17 00:00:00 2001 From: daniabib Date: Tue, 21 May 2024 16:12:33 +0000 Subject: [PATCH] Update README --- README.md | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/README.md b/README.md index 26b6240..b9b56f1 100644 --- a/README.md +++ b/README.md @@ -79,26 +79,4 @@ The ProPainter Outpainting node extends the boundaries of video frames, generati Here is an example of how to use the ProPainter Inpainting node: -```python -from propainter_nodes import ProPainterInpaint -# Initialize the inpainting node -inpaint_node = ProPainterInpaint() - -# Define input parameters -input_params = { - "image": input_video_tensor, - "mask": input_mask_tensor, - "width": 640, - "height": 360, - "mask_dilates": 5, - "flow_mask_dilates": 8, - "ref_stride": 10, - "neighbor_length": 10, - "subvideo_length": 80, - "raft_iter": 20, - "fp16": "disable" -} - -# Perform inpainting -output_image, flow_mask, mask_dilate = inpaint_node.propainter_inpainting(**input_params)