diff --git a/recipes/promptable-content-moderation/app.py b/recipes/promptable-content-moderation/app.py index e33ef110..eed8c1cb 100644 --- a/recipes/promptable-content-moderation/app.py +++ b/recipes/promptable-content-moderation/app.py @@ -461,7 +461,7 @@ def create_visualization_plots(json_path): gr.Markdown( """ - We can get a rough estimate of how long the video will take to process by multiplying the videos framerate * seconds * the number of rows and columns and assuming 0.12 seconds processing time per detection. + We can get a rough estimate of how long the video will take to process by multiplying the video's frame rate * seconds * the number of rows and columns and assuming 0.12 seconds processing time per detection. For example, a 3 second video at 30fps with 2x2 grid, the estimated time is 3 * 30 * 2 * 2 * 0.12 = 43.2 seconds (tested on a 4090 GPU). Note: Using the SAM visualization style will increase processing time significantly as it performs additional segmentation for each detection. The sam-fast option uses a smaller model for faster processing at the cost of some accuracy.