Various changes made to make it work from the command line - Most of the functionality has been commented out - Gradio-specific code - HTML UI - Video processing - Operation modes other than mask generation