Spaces:
Sleeping
Sleeping
File size: 3,946 Bytes
065189e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AutoCap - AI Powered Captions</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
<meta name="description" content="Generate high-quality captions for your videos automatically using AI. Fast, accurate, and easy to use.">
</head>
<body>
<div class="background-glow"></div>
<nav>
<div class="logo">Auto<span>Cap</span></div>
<div class="nav-links">
<a href="#" class="active">Home</a>
<a href="#">How it works</a>
<a href="https://github.com/openai/whisper" target="_blank">AI Model</a>
</div>
</nav>
<main>
<section class="hero">
<h1>Elevate Your Content with <span class="gradient-text">AI Captions</span></h1>
<p>Upload your video and let our advanced AI transcribe and generate perfectly timed captions in seconds.</p>
</section>
<section class="upload-container">
<div id="drop-zone" class="glass-card">
<div class="upload-icon">
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 10V9C7 6.23858 9.23858 4 12 4C14.7614 4 17 6.23858 17 9V10C19.2091 10 21 11.7909 21 14C21 16.2091 19.2091 18 17 18H7C4.79086 18 3 16.2091 3 14C3 11.7909 4.79086 10 7 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12 12V21" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9 15L12 12L15 15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<h3>Drop your video here</h3>
<p>or click to browse (MP4, MKV, MOV)</p>
<input type="file" id="file-input" hidden accept="video/*">
</div>
<div id="processing-info" class="glass-card hidden">
<div class="spinner"></div>
<h3>Processing Your Video</h3>
<p id="status-text">Uploading and extracting audio...</p>
<div class="progress-bar-container">
<div id="progress-bar" class="progress-bar"></div>
</div>
</div>
<div id="result-container" class="glass-card hidden">
<div class="success-icon">
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<h3>Captions Ready!</h3>
<div class="action-buttons">
<button id="download-srt" class="btn primary">Download Subtitles (.SRT)</button>
<button id="preview-btn" class="btn secondary">View Transcript</button>
<button id="reset-btn" class="btn outline">Process New Video</button>
</div>
</div>
</section>
<section id="transcript-preview" class="glass-card hidden">
<div class="preview-header">
<h3>Transcript Preview</h3>
<button id="close-preview">×</button>
</div>
<div id="transcript-content" class="scrollable">
<!-- Transcript lines will be injected here -->
</div>
</section>
</main>
<footer>
<p>© 2026 AutoCap AI. Powered by OpenAI Whisper.</p>
</footer>
<script src="script.js"></script>
</body>
</html>
|