"""Threaded HTTP server for serving video files on a separate port. Gradio's SSE connections consume Chrome's 6-per-origin HTTP/1.1 connection budget. When multiple tabs are open, file requests to Gradio's ``/file=`` route get queued behind active SSE connections, causing videos to appear "empty" until other tabs finish processing. This module serves video files on a different port (different origin), giving the browser a separate connection pool. Gradio's Video component receives an HTTP URL and passes it directly to ``