no_copy_paste_js = """ function disableCopyPaste() { // Disable copy-paste globally document.addEventListener("copy", function (e) { const target = e.target.closest("#group-b"); console.log("Copy event target:", e.target, "Closest group-b:", target); if (!target) { e.preventDefault(); alert("Copy is disabled"); } }); document.addEventListener("cut", function (e) { const target = e.target.closest("#group-b"); if (!target) { e.preventDefault(); alert("Cut is disabled"); } }); document.addEventListener("paste", function (e) { const target = e.target.closest("#group-b"); if (!target) { e.preventDefault(); alert("Paste is disabled"); } }); } """ background_css = """ .gradio-container { background: url('https://platform.vox.com/wp-content/uploads/sites/2/chorus/uploads/chorus_asset/file/9376591/blade3.jpg'); background-size: cover; background-attachment: fixed; background-position: center; } """