SageCam / static /index.html
sinhal's picture
Upload folder using huggingface_hub
38b4783 verified
Raw
History Blame Contribute Delete
3.75 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SageCam</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="header">
<div class="logo">Sage<span>Cam</span></div>
<div class="tagline">Obsessed Girlfriend</div>
<div class="stats">
<div class="stats-dot"></div>
Model Connected
</div>
</header>
<div class="main-container">
<!-- LEFT: Video + Prompt Panel -->
<div class="video-section">
<!-- Stranger Video (top ~62%) -->
<div class="video-box stranger-box">
<video id="stranger-video" class="video-element" autoplay loop muted playsinline>
<source src="sage.mp4" type="video/mp4">
</video>
<div id="stranger-avatar" class="avatar-placeholder" style="display: none;">
<div class="avatar-icon">
<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z"/>
</svg>
</div>
<div class="avatar-text">Camera is off</div>
</div>
</div>
<!-- Curate Sage Panel (bottom ~38%) -->
<div class="prompt-panel">
<div class="prompt-header">
<span class="prompt-title">✦ Curate Sage <span class="toggle-arrow"></span></span>
<div class="prompt-actions">
<button id="random-btn" class="prompt-btn random-btn">
<svg width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M16 3h5v5M4 20L21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/>
</svg>
Shuffle
</button>
<button id="apply-btn" class="prompt-btn apply-btn">Apply →</button>
</div>
</div>
<textarea id="system-prompt" class="prompt-textarea" spellcheck="false" placeholder="Describe Sage's personality, mood, and quirks..."></textarea>
<div class="prompt-hint">Changes apply to the next session. Hit Apply then start a new chat.</div>
</div>
</div>
<!-- RIGHT: Chat Interface -->
<div class="chat-section">
<div class="chat-log" id="chat-log">
<div class="status-msg">Connecting to Sage...</div>
<div class="status-msg" style="color: #22c55e;">She's here, say hi 👋</div>
</div>
<div class="chat-controls">
<button id="new-btn" class="control-btn new-btn">
<strong>Next</strong>
<span class="sub-text">Esc</span>
</button>
<div class="input-container">
<textarea id="chat-input" placeholder="Type a message..."></textarea>
</div>
<button id="send-btn" class="control-btn send-btn" disabled>
<strong>Send</strong>
<span class="sub-text">Enter</span>
</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>