Add 3 files
Browse filesFiles changed (3)
- README.md+7-5
- index.html+113-19
- prompts.txtAdded
12345678910---title: The Endemoji: 🏢colorFrom: graycolorTo: redsdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: the-endemoji: 🐳colorFrom: redcolorTo: bluesdk: staticpinned: falsetags:- deepsite---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Camera Interface - Connection Failed</title><!-- Tailwind CSS CDN --><script src="https://cdn.tailwindcss.com"></script><!-- Font Awesome CDN --><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet"></head><body class="bg-black text-green-400 min-h-screen flex flex-col justify-center p-4 font-mono"><div class="w-full max-w-6xl grid grid-cols-1 md:grid-cols-2 gap-8 items-start"><!-- Control Panel --><div class="text-left space-y-4"><h1 class="text-3xl font-bold mb-4 bg-gradient-to-r from-green-400 to-green-600 text-transparent bg-clip-text">CONNECT TO CAMERA</h1><button id="scanAgainBtn" class="w-full bg-gradient-to-r from-green-600 to-green-800 text-white py-3 px-6 rounded-lg shadow-md hover:from-green-700 hover:to-green-900 transition"><i class="fas fa-search mr-2"></i> SCAN AGAIN</button><button id="disconnectBtn" class="w-full bg-gradient-to-r from-red-600 to-red-800 text-white py-3 px-6 rounded-lg shadow-md hover:from-red-700 hover:to-red-900 transition hidden"><i class="fas fa-unlink mr-2"></i> DISCONNECT</button><div id="statusMessage" class="mt-4 p-4 border border-green-500 bg-black/50 rounded-lg"><i class="fas fa-circle-notch fa-spin mr-2"></i><span id="statusText">Scanning for unprotected cameras...</span></div></div><!-- Camera Display --><div class="relative bg-black border border-green-500 p-2 shadow-md rounded-lg screen-effect"><div id="cameraFeed" class="camera-feed w-full h-full block"><img id="networkFeed" class="w-full h-full object-cover" alt="Camera feed"><div class="camera-overlay"><div><span class="live-badge">LIVE</span><span class="ml-2" id="cameraLocation">NETWORK CAMERA</span></div><div id="cameraTimestamp">CONNECTED</div></div></div></div></div><style>.screen-effect {background: #000;box-shadow: 0 0 20px #22c55e44;position: relative;}.screen-effect::after {content: "";position: absolute;top: 0; left: 0;width: 100%; height: 100%;background: repeating-linear-gradient(0deg,rgba(34, 197, 94, 0.05),rgba(34, 197, 94, 0.05) 1px,transparent 1px,transparent 3px);pointer-events: none;}.camera-feed {background: #000;border: 2px solid #22c55e;aspect-ratio: 16 / 9;overflow: hidden;}.camera-feed img {width: 100%;height: 100%;object-fit: cover;}.camera-overlay {position: absolute;bottom: 0;width: 100%;background: rgba(0,0,0,0.7);color: #22c55e;padding: 5px 10px;display: flex;justify-content: space-between;font-size: 12px;}.live-badge {background: #ef4444;color: white;padding: 2px 5px;border-radius: 3px;font-size: 10px;}.status-failed {color: #ef4444; /* Red for failure */}</style><script>const scanAgainBtn = document.getElementById('scanAgainBtn');const statusMessage = document.getElementById('statusMessage');const statusText = document.getElementById('statusText');scanAgainBtn.addEventListener('click', () => {// Reset UI and start scanningstatusMessage.innerHTML = '<i class="fas fa-circle-notch fa-spin mr-2"></i><span id="statusText">Scanning for unprotected cameras...</span>';scanAgainBtn.disabled = true;// Simulate connection attempt (fails after 2 seconds)setTimeout(() => {statusMessage.innerHTML = '<i class="fas fa-exclamation-triangle mr-2"></i><span id="statusText" class="status-failed">Connection Failed: No cameras found</span>';scanAgainBtn.disabled = false;}, 2000);});</script><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=dror21/the-end" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
README.md+7-5
index.html+113-19
prompts.txtAdded