emad600 commited on
Commit
1e4e4ba
·
verified ·
1 Parent(s): d597010

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +904 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Auto Sub Ai
3
- emoji: 🏃
4
- colorFrom: gray
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: auto-sub-ai
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,904 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AutoSub.ai - AI-Powered Transcription & Subtitling</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
12
+ }
13
+ .file-drop-area {
14
+ border: 2px dashed #a777e3;
15
+ transition: all 0.3s ease;
16
+ }
17
+ .file-drop-area.active {
18
+ border-color: #6e8efb;
19
+ background-color: rgba(110, 142, 251, 0.1);
20
+ }
21
+ .progress-bar {
22
+ transition: width 0.3s ease;
23
+ }
24
+ .language-option:hover {
25
+ transform: translateY(-3px);
26
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
27
+ }
28
+ .waveform {
29
+ background: linear-gradient(90deg, #6e8efb 0%, #a777e3 100%);
30
+ height: 60px;
31
+ position: relative;
32
+ overflow: hidden;
33
+ }
34
+ .waveform::after {
35
+ content: "";
36
+ position: absolute;
37
+ bottom: 0;
38
+ left: 0;
39
+ right: 0;
40
+ height: 20px;
41
+ background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><path d="M0,5 C15,10 35,0 50,5 S85,0 100,5" stroke="%23ffffff" fill="none" stroke-width="0.5"/></svg>') repeat-x;
42
+ opacity: 0.5;
43
+ }
44
+ @keyframes wave {
45
+ 0% { transform: translateX(-100%); }
46
+ 100% { transform: translateX(100%); }
47
+ }
48
+ .wave-animation::after {
49
+ animation: wave 2s linear infinite;
50
+ }
51
+ </style>
52
+ </head>
53
+ <body class="font-sans antialiased text-gray-800">
54
+ <!-- Navigation -->
55
+ <nav class="bg-white shadow-sm">
56
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
57
+ <div class="flex justify-between h-16">
58
+ <div class="flex items-center">
59
+ <div class="flex-shrink-0 flex items-center">
60
+ <i class="fas fa-closed-captioning text-purple-600 text-2xl mr-2"></i>
61
+ <span class="text-xl font-bold text-gray-900">AutoSub.ai</span>
62
+ </div>
63
+ </div>
64
+ <div class="hidden sm:ml-6 sm:flex sm:items-center space-x-8">
65
+ <a href="#features" class="text-gray-500 hover:text-gray-700 px-3 py-2 text-sm font-medium">Features</a>
66
+ <a href="#pricing" class="text-gray-500 hover:text-gray-700 px-3 py-2 text-sm font-medium">Pricing</a>
67
+ <a href="#how-it-works" class="text-gray-500 hover:text-gray-700 px-3 py-2 text-sm font-medium">How It Works</a>
68
+ <button class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-150 ease-in-out">
69
+ Get Started
70
+ </button>
71
+ </div>
72
+ <div class="-mr-2 flex items-center sm:hidden">
73
+ <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-purple-500" aria-controls="mobile-menu" aria-expanded="false" id="mobile-menu-button">
74
+ <span class="sr-only">Open main menu</span>
75
+ <i class="fas fa-bars"></i>
76
+ </button>
77
+ </div>
78
+ </div>
79
+ </div>
80
+
81
+ <!-- Mobile menu -->
82
+ <div class="hidden sm:hidden" id="mobile-menu">
83
+ <div class="pt-2 pb-3 space-y-1">
84
+ <a href="#features" class="block px-3 py-2 text-base font-medium text-gray-500 hover:text-gray-700 hover:bg-gray-50">Features</a>
85
+ <a href="#pricing" class="block px-3 py-2 text-base font-medium text-gray-500 hover:text-gray-700 hover:bg-gray-50">Pricing</a>
86
+ <a href="#how-it-works" class="block px-3 py-2 text-base font-medium text-gray-500 hover:text-gray-700 hover:bg-gray-50">How It Works</a>
87
+ <a href="#" class="block px-3 py-2 text-base font-medium text-purple-600 hover:text-purple-800 hover:bg-purple-50">Get Started</a>
88
+ </div>
89
+ </div>
90
+ </nav>
91
+
92
+ <!-- Hero Section -->
93
+ <div class="gradient-bg">
94
+ <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
95
+ <div class="text-center">
96
+ <h1 class="text-4xl font-extrabold tracking-tight text-white sm:text-5xl lg:text-6xl">
97
+ AI-Powered Transcription & Subtitling
98
+ </h1>
99
+ <p class="mt-6 max-w-2xl mx-auto text-xl text-purple-100">
100
+ Automatically transcribe, translate, and add subtitles to your videos with 99% accuracy. Save hours of manual work with our cutting-edge AI technology.
101
+ </p>
102
+ <div class="mt-10 flex justify-center space-x-4">
103
+ <a href="#upload" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-purple-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
104
+ Try It Free
105
+ </a>
106
+ <a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-purple-800 bg-opacity-60 hover:bg-opacity-70 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
107
+ Watch Demo
108
+ </a>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </div>
113
+
114
+ <!-- Upload Section -->
115
+ <div id="upload" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
116
+ <div class="lg:grid lg:grid-cols-2 lg:gap-8">
117
+ <div class="mb-8 lg:mb-0">
118
+ <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
119
+ Upload Your Media
120
+ </h2>
121
+ <p class="mt-4 text-lg text-gray-500">
122
+ Drag and drop your video or audio files to get started. We support MP4, MOV, AVI, MP3, WAV and more.
123
+ </p>
124
+ <div class="mt-8">
125
+ <div class="file-drop-area rounded-lg p-8 text-center cursor-pointer" id="dropArea">
126
+ <div class="border-2 border-dashed border-gray-300 rounded-lg p-12">
127
+ <i class="fas fa-cloud-upload-alt text-4xl text-purple-500 mb-4"></i>
128
+ <p class="text-lg font-medium text-gray-700">Drag & drop your files here</p>
129
+ <p class="text-sm text-gray-500 mt-2">or click to browse</p>
130
+ <input type="file" id="fileInput" class="hidden" accept="video/*,audio/*">
131
+ </div>
132
+ </div>
133
+ <div class="mt-4 hidden" id="fileInfo">
134
+ <div class="flex items-center">
135
+ <i class="fas fa-file-alt text-purple-500 mr-2"></i>
136
+ <span id="fileName" class="font-medium"></span>
137
+ <span id="fileSize" class="text-gray-500 ml-2"></span>
138
+ <button id="removeFile" class="ml-auto text-red-500 hover:text-red-700">
139
+ <i class="fas fa-times"></i>
140
+ </button>
141
+ </div>
142
+ <div class="mt-2">
143
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
144
+ <div id="uploadProgress" class="progress-bar bg-purple-600 h-2.5 rounded-full" style="width: 0%"></div>
145
+ </div>
146
+ <p id="uploadStatus" class="text-sm text-gray-500 mt-1">Uploading...</p>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ <div>
152
+ <div class="bg-white rounded-lg shadow-md p-6">
153
+ <h3 class="text-lg font-medium text-gray-900 mb-4">Processing Options</h3>
154
+
155
+ <div class="space-y-4">
156
+ <div>
157
+ <label class="block text-sm font-medium text-gray-700 mb-1">Transcription Language</label>
158
+ <select class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-purple-500 focus:border-purple-500 sm:text-sm rounded-md">
159
+ <option>Auto-detect</option>
160
+ <option>English</option>
161
+ <option>Spanish</option>
162
+ <option>French</option>
163
+ <option>German</option>
164
+ <option>Chinese</option>
165
+ <option>Japanese</option>
166
+ <option>+50 more...</option>
167
+ </select>
168
+ </div>
169
+
170
+ <div>
171
+ <label class="block text-sm font-medium text-gray-700 mb-1">Output Format</label>
172
+ <div class="mt-1 grid grid-cols-3 gap-2">
173
+ <button class="border border-gray-300 rounded-md py-2 px-3 text-sm font-medium hover:bg-purple-50 hover:border-purple-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
174
+ SRT
175
+ </button>
176
+ <button class="border border-gray-300 rounded-md py-2 px-3 text-sm font-medium hover:bg-purple-50 hover:border-purple-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
177
+ VTT
178
+ </button>
179
+ <button class="border border-gray-300 rounded-md py-2 px-3 text-sm font-medium hover:bg-purple-50 hover:border-purple-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500">
180
+ TXT
181
+ </button>
182
+ </div>
183
+ </div>
184
+
185
+ <div class="pt-2">
186
+ <div class="flex items-start">
187
+ <div class="flex items-center h-5">
188
+ <input id="translate" name="translate" type="checkbox" class="focus:ring-purple-500 h-4 w-4 text-purple-600 border-gray-300 rounded">
189
+ </div>
190
+ <div class="ml-3 text-sm">
191
+ <label for="translate" class="font-medium text-gray-700">Add Translations</label>
192
+ <p class="text-gray-500">Generate subtitles in multiple languages</p>
193
+ </div>
194
+ </div>
195
+ </div>
196
+
197
+ <div class="pt-2">
198
+ <div class="flex items-start">
199
+ <div class="flex items-center h-5">
200
+ <input id="voiceover" name="voiceover" type="checkbox" class="focus:ring-purple-500 h-4 w-4 text-purple-600 border-gray-300 rounded">
201
+ </div>
202
+ <div class="ml-3 text-sm">
203
+ <label for="voiceover" class="font-medium text-gray-700">Generate Voiceover</label>
204
+ <p class="text-gray-500">Create natural-sounding voiceovers in any language</p>
205
+ </div>
206
+ </div>
207
+ </div>
208
+
209
+ <button id="processButton" class="w-full bg-purple-600 hover:bg-purple-700 text-white py-3 px-4 rounded-md text-sm font-medium transition duration-150 ease-in-out hidden">
210
+ Process File
211
+ </button>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ </div>
216
+ </div>
217
+
218
+ <!-- Features Section -->
219
+ <div id="features" class="bg-gray-50">
220
+ <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
221
+ <div class="text-center">
222
+ <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
223
+ Powerful Features
224
+ </h2>
225
+ <p class="mt-4 max-w-2xl mx-auto text-lg text-gray-500">
226
+ Everything you need to make your content accessible and engaging
227
+ </p>
228
+ </div>
229
+
230
+ <div class="mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
231
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
232
+ <div class="p-6">
233
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mb-4">
234
+ <i class="fas fa-language text-xl"></i>
235
+ </div>
236
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Multilingual Support</h3>
237
+ <p class="text-gray-500">
238
+ Transcribe and translate into 50+ languages with industry-leading accuracy.
239
+ </p>
240
+ </div>
241
+ </div>
242
+
243
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
244
+ <div class="p-6">
245
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mb-4">
246
+ <i class="fas fa-robot text-xl"></i>
247
+ </div>
248
+ <h3 class="text-lg font-medium text-gray-900 mb-2">AI-Powered</h3>
249
+ <p class="text-gray-500">
250
+ Our advanced AI models understand context, accents, and technical jargon.
251
+ </p>
252
+ </div>
253
+ </div>
254
+
255
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
256
+ <div class="p-6">
257
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mb-4">
258
+ <i class="fas fa-stopwatch text-xl"></i>
259
+ </div>
260
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Fast Processing</h3>
261
+ <p class="text-gray-500">
262
+ Get results in minutes, not hours. Process files up to 10x faster than competitors.
263
+ </p>
264
+ </div>
265
+ </div>
266
+
267
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
268
+ <div class="p-6">
269
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mb-4">
270
+ <i class="fas fa-closed-captioning text-xl"></i>
271
+ </div>
272
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Smart Subtitles</h3>
273
+ <p class="text-gray-500">
274
+ Automatic timing, line breaks, and punctuation for professional-quality subtitles.
275
+ </p>
276
+ </div>
277
+ </div>
278
+
279
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
280
+ <div class="p-6">
281
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mb-4">
282
+ <i class="fas fa-microphone-alt text-xl"></i>
283
+ </div>
284
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Voice Synthesis</h3>
285
+ <p class="text-gray-500">
286
+ Generate natural-sounding voiceovers in any language with human-like intonation.
287
+ </p>
288
+ </div>
289
+ </div>
290
+
291
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
292
+ <div class="p-6">
293
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mb-4">
294
+ <i class="fas fa-lock text-xl"></i>
295
+ </div>
296
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Secure & Private</h3>
297
+ <p class="text-gray-500">
298
+ Enterprise-grade security. Your files are never stored longer than necessary.
299
+ </p>
300
+ </div>
301
+ </div>
302
+ </div>
303
+ </div>
304
+ </div>
305
+
306
+ <!-- How It Works Section -->
307
+ <div id="how-it-works" class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
308
+ <div class="text-center">
309
+ <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
310
+ How AutoSub.ai Works
311
+ </h2>
312
+ <p class="mt-4 max-w-2xl mx-auto text-lg text-gray-500">
313
+ Three simple steps to professional subtitles and translations
314
+ </p>
315
+ </div>
316
+
317
+ <div class="mt-16">
318
+ <div class="lg:grid lg:grid-cols-3 lg:gap-8">
319
+ <div class="relative">
320
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-600 text-white absolute -top-6 left-1/2 transform -translate-x-1/2 lg:left-0 lg:translate-x-0">
321
+ <span class="text-xl font-bold">1</span>
322
+ </div>
323
+ <div class="bg-white rounded-lg shadow-md p-6 pt-12 lg:pt-6 lg:pl-12">
324
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Upload Your File</h3>
325
+ <p class="text-gray-500">
326
+ Drag and drop your video or audio file. We support all major formats up to 4K resolution.
327
+ </p>
328
+ </div>
329
+ </div>
330
+
331
+ <div class="relative mt-16 lg:mt-0">
332
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-600 text-white absolute -top-6 left-1/2 transform -translate-x-1/2 lg:left-0 lg:translate-x-0">
333
+ <span class="text-xl font-bold">2</span>
334
+ </div>
335
+ <div class="bg-white rounded-lg shadow-md p-6 pt-12 lg:pt-6 lg:pl-12">
336
+ <h3 class="text-lg font-medium text-gray-900 mb-2">AI Processing</h3>
337
+ <p class="text-gray-500">
338
+ Our advanced AI transcribes, translates, and times your subtitles automatically.
339
+ </p>
340
+ </div>
341
+ </div>
342
+
343
+ <div class="relative mt-16 lg:mt-0">
344
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-600 text-white absolute -top-6 left-1/2 transform -translate-x-1/2 lg:left-0 lg:translate-x-0">
345
+ <span class="text-xl font-bold">3</span>
346
+ </div>
347
+ <div class="bg-white rounded-lg shadow-md p-6 pt-12 lg:pt-6 lg:pl-12">
348
+ <h3 class="text-lg font-medium text-gray-900 mb-2">Download & Share</h3>
349
+ <p class="text-gray-500">
350
+ Get your subtitles in multiple formats or embed them directly into your video.
351
+ </p>
352
+ </div>
353
+ </div>
354
+ </div>
355
+ </div>
356
+ </div>
357
+
358
+ <!-- Results Preview (Hidden by default) -->
359
+ <div id="resultsSection" class="hidden max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
360
+ <div class="bg-white rounded-lg shadow-xl overflow-hidden">
361
+ <div class="p-6 border-b border-gray-200">
362
+ <h2 class="text-2xl font-bold text-gray-900">Your Results Are Ready!</h2>
363
+ <p class="text-gray-500 mt-2">Download your files or make additional edits</p>
364
+ </div>
365
+
366
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 p-6">
367
+ <!-- Video Preview -->
368
+ <div class="lg:col-span-2">
369
+ <div class="bg-black rounded-lg overflow-hidden relative">
370
+ <video controls class="w-full" id="previewVideo">
371
+ <source src="" type="video/mp4">
372
+ Your browser does not support the video tag.
373
+ </video>
374
+ <div class="waveform wave-animation absolute bottom-0 left-0 right-0"></div>
375
+ </div>
376
+ </div>
377
+
378
+ <!-- Transcription & Subtitles -->
379
+ <div>
380
+ <div class="bg-gray-50 rounded-lg p-4 h-full">
381
+ <div class="flex justify-between items-center mb-4">
382
+ <h3 class="font-medium text-gray-900">Transcription</h3>
383
+ <div class="flex space-x-2">
384
+ <button class="text-purple-600 hover:text-purple-800">
385
+ <i class="fas fa-edit"></i>
386
+ </button>
387
+ <button class="text-purple-600 hover:text-purple-800">
388
+ <i class="fas fa-download"></i>
389
+ </button>
390
+ </div>
391
+ </div>
392
+
393
+ <div class="bg-white rounded-md p-3 h-64 overflow-y-auto text-sm" id="transcriptionText">
394
+ <p class="mb-3"><span class="font-semibold text-purple-600">[00:00:05]</span> Hello and welcome to our tutorial video about AutoSub.ai.</p>
395
+ <p class="mb-3"><span class="font-semibold text-purple-600">[00:00:10]</span> This powerful tool can automatically transcribe your videos with 99% accuracy.</p>
396
+ <p class="mb-3"><span class="font-semibold text-purple-600">[00:00:16]</span> It supports over 50 languages and can generate professional-quality subtitles.</p>
397
+ <p class="mb-3"><span class="font-semibold text-purple-600">[00:00:22]</span> The AI understands context, accents, and even technical jargon.</p>
398
+ <p class="mb-3"><span class="font-semibold text-purple-600">[00:00:28]</span> Try it today and see how much time you can save!</p>
399
+ </div>
400
+
401
+ <div class="mt-4">
402
+ <h4 class="text-sm font-medium text-gray-700 mb-2">Download Options</h4>
403
+ <div class="grid grid-cols-3 gap-2">
404
+ <button class="border border-gray-300 rounded-md py-2 px-2 text-xs font-medium hover:bg-purple-50 hover:border-purple-300">
405
+ SRT
406
+ </button>
407
+ <button class="border border-gray-300 rounded-md py-2 px-2 text-xs font-medium hover:bg-purple-50 hover:border-purple-300">
408
+ VTT
409
+ </button>
410
+ <button class="border border-gray-300 rounded-md py-2 px-2 text-xs font-medium hover:bg-purple-50 hover:border-purple-300">
411
+ TXT
412
+ </button>
413
+ <button class="border border-gray-300 rounded-md py-2 px-2 text-xs font-medium hover:bg-purple-50 hover:border-purple-300">
414
+ JSON
415
+ </button>
416
+ <button class="border border-gray-300 rounded-md py-2 px-2 text-xs font-medium hover:bg-purple-50 hover:border-purple-300">
417
+ Embed
418
+ </button>
419
+ <button class="border border-gray-300 rounded-md py-2 px-2 text-xs font-medium hover:bg-purple-50 hover:border-purple-300">
420
+ All
421
+ </button>
422
+ </div>
423
+ </div>
424
+ </div>
425
+ </div>
426
+ </div>
427
+
428
+ <div class="bg-gray-50 px-6 py-4 border-t border-gray-200">
429
+ <div class="flex justify-between items-center">
430
+ <div>
431
+ <h3 class="font-medium text-gray-900">Need more?</h3>
432
+ <p class="text-sm text-gray-500">Generate translations or voiceovers for this file</p>
433
+ </div>
434
+ <button class="bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md text-sm font-medium">
435
+ Additional Options
436
+ </button>
437
+ </div>
438
+ </div>
439
+ </div>
440
+ </div>
441
+
442
+ <!-- Pricing Section -->
443
+ <div id="pricing" class="bg-gray-50">
444
+ <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
445
+ <div class="text-center">
446
+ <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
447
+ Simple, Transparent Pricing
448
+ </h2>
449
+ <p class="mt-4 max-w-2xl mx-auto text-lg text-gray-500">
450
+ Pay only for what you use with no hidden fees
451
+ </p>
452
+ </div>
453
+
454
+ <div class="mt-16 space-y-8 lg:space-y-0 lg:grid lg:grid-cols-3 lg:gap-8">
455
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
456
+ <div class="p-6">
457
+ <h3 class="text-lg font-medium text-gray-900">Pay As You Go</h3>
458
+ <div class="mt-4 flex items-baseline">
459
+ <span class="text-4xl font-extrabold text-gray-900">$0.10</span>
460
+ <span class="ml-1 text-lg font-medium text-gray-500">/minute</span>
461
+ </div>
462
+ <p class="mt-4 text-sm text-gray-500">
463
+ Perfect for occasional users or small projects
464
+ </p>
465
+ <div class="mt-6">
466
+ <ul class="space-y-3">
467
+ <li class="flex items-start">
468
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
469
+ <i class="fas fa-check"></i>
470
+ </div>
471
+ <p class="ml-3 text-sm text-gray-700">First 30 minutes free</p>
472
+ </li>
473
+ <li class="flex items-start">
474
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
475
+ <i class="fas fa-check"></i>
476
+ </div>
477
+ <p class="ml-3 text-sm text-gray-700">No monthly commitment</p>
478
+ </li>
479
+ <li class="flex items-start">
480
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
481
+ <i class="fas fa-check"></i>
482
+ </div>
483
+ <p class="ml-3 text-sm text-gray-700">Pay only for what you use</p>
484
+ </li>
485
+ </ul>
486
+ </div>
487
+ <div class="mt-8">
488
+ <button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md text-sm font-medium">
489
+ Get Started
490
+ </button>
491
+ </div>
492
+ </div>
493
+ </div>
494
+
495
+ <div class="bg-white rounded-lg shadow-lg overflow-hidden border-2 border-purple-500 transform scale-105">
496
+ <div class="bg-purple-500 px-6 py-3">
497
+ <h3 class="text-lg font-medium text-white">Professional</h3>
498
+ </div>
499
+ <div class="p-6">
500
+ <div class="mt-2 flex items-baseline">
501
+ <span class="text-4xl font-extrabold text-gray-900">$49</span>
502
+ <span class="ml-1 text-lg font-medium text-gray-500">/month</span>
503
+ </div>
504
+ <p class="mt-4 text-sm text-gray-500">
505
+ Best for regular users and small teams
506
+ </p>
507
+ <div class="mt-6">
508
+ <ul class="space-y-3">
509
+ <li class="flex items-start">
510
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
511
+ <i class="fas fa-check"></i>
512
+ </div>
513
+ <p class="ml-3 text-sm text-gray-700">10 hours included</p>
514
+ </li>
515
+ <li class="flex items-start">
516
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
517
+ <i class="fas fa-check"></i>
518
+ </div>
519
+ <p class="ml-3 text-sm text-gray-700">Additional at $0.08/min</p>
520
+ </li>
521
+ <li class="flex items-start">
522
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
523
+ <i class="fas fa-check"></i>
524
+ </div>
525
+ <p class="ml-3 text-sm text-gray-700">Priority processing</p>
526
+ </li>
527
+ <li class="flex items-start">
528
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
529
+ <i class="fas fa-check"></i>
530
+ </div>
531
+ <p class="ml-3 text-sm text-gray-700">Team collaboration</p>
532
+ </li>
533
+ </ul>
534
+ </div>
535
+ <div class="mt-8">
536
+ <button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md text-sm font-medium">
537
+ Most Popular
538
+ </button>
539
+ </div>
540
+ </div>
541
+ </div>
542
+
543
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
544
+ <div class="p-6">
545
+ <h3 class="text-lg font-medium text-gray-900">Enterprise</h3>
546
+ <div class="mt-4 flex items-baseline">
547
+ <span class="text-4xl font-extrabold text-gray-900">Custom</span>
548
+ </div>
549
+ <p class="mt-4 text-sm text-gray-500">
550
+ For large teams and high-volume needs
551
+ </p>
552
+ <div class="mt-6">
553
+ <ul class="space-y-3">
554
+ <li class="flex items-start">
555
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
556
+ <i class="fas fa-check"></i>
557
+ </div>
558
+ <p class="ml-3 text-sm text-gray-700">Volume discounts</p>
559
+ </li>
560
+ <li class="flex items-start">
561
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
562
+ <i class="fas fa-check"></i>
563
+ </div>
564
+ <p class="ml-3 text-sm text-gray-700">Dedicated support</p>
565
+ </li>
566
+ <li class="flex items-start">
567
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
568
+ <i class="fas fa-check"></i>
569
+ </div>
570
+ <p class="ml-3 text-sm text-gray-700">API access</p>
571
+ </li>
572
+ <li class="flex items-start">
573
+ <div class="flex-shrink-0 h-5 w-5 text-purple-500">
574
+ <i class="fas fa-check"></i>
575
+ </div>
576
+ <p class="ml-3 text-sm text-gray-700">Custom workflows</p>
577
+ </li>
578
+ </ul>
579
+ </div>
580
+ <div class="mt-8">
581
+ <button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md text-sm font-medium">
582
+ Contact Sales
583
+ </button>
584
+ </div>
585
+ </div>
586
+ </div>
587
+ </div>
588
+ </div>
589
+ </div>
590
+
591
+ <!-- Testimonials -->
592
+ <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
593
+ <div class="text-center">
594
+ <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
595
+ Trusted by Professionals Worldwide
596
+ </h2>
597
+ </div>
598
+
599
+ <div class="mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
600
+ <div class="bg-white rounded-lg shadow-md p-6">
601
+ <div class="flex items-center mb-4">
602
+ <div class="flex-shrink-0">
603
+ <img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
604
+ </div>
605
+ <div class="ml-3">
606
+ <p class="text-sm font-medium text-gray-900">Sarah Johnson</p>
607
+ <p class="text-sm text-gray-500">Video Producer</p>
608
+ </div>
609
+ </div>
610
+ <p class="text-gray-600 italic">
611
+ "AutoSub.ai has saved me countless hours of manual transcription work. The accuracy is incredible and it handles technical terms better than any service I've tried."
612
+ </p>
613
+ <div class="mt-4 flex text-purple-500">
614
+ <i class="fas fa-star"></i>
615
+ <i class="fas fa-star"></i>
616
+ <i class="fas fa-star"></i>
617
+ <i class="fas fa-star"></i>
618
+ <i class="fas fa-star"></i>
619
+ </div>
620
+ </div>
621
+
622
+ <div class="bg-white rounded-lg shadow-md p-6">
623
+ <div class="flex items-center mb-4">
624
+ <div class="flex-shrink-0">
625
+ <img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
626
+ </div>
627
+ <div class="ml-3">
628
+ <p class="text-sm font-medium text-gray-900">Michael Chen</p>
629
+ <p class="text-sm text-gray-500">E-Learning Director</p>
630
+ </div>
631
+ </div>
632
+ <p class="text-gray-600 italic">
633
+ "We localize our courses into 8 languages. AutoSub.ai's translation and voiceover features have reduced our production time by 70% while improving quality."
634
+ </p>
635
+ <div class="mt-4 flex text-purple-500">
636
+ <i class="fas fa-star"></i>
637
+ <i class="fas fa-star"></i>
638
+ <i class="fas fa-star"></i>
639
+ <i class="fas fa-star"></i>
640
+ <i class="fas fa-star"></i>
641
+ </div>
642
+ </div>
643
+
644
+ <div class="bg-white rounded-lg shadow-md p-6">
645
+ <div class="flex items-center mb-4">
646
+ <div class="flex-shrink-0">
647
+ <img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
648
+ </div>
649
+ <div class="ml-3">
650
+ <p class="text-sm font-medium text-gray-900">David Rodriguez</p>
651
+ <p class="text-sm text-gray-500">Podcast Host</p>
652
+ </div>
653
+ </div>
654
+ <p class="text-gray-600 italic">
655
+ "As a podcaster, having accurate transcripts is essential for SEO and accessibility. AutoSub.ai delivers perfect results every time with zero effort on my part."
656
+ </p>
657
+ <div class="mt-4 flex text-purple-500">
658
+ <i class="fas fa-star"></i>
659
+ <i class="fas fa-star"></i>
660
+ <i class="fas fa-star"></i>
661
+ <i class="fas fa-star"></i>
662
+ <i class="fas fa-star"></i>
663
+ </div>
664
+ </div>
665
+ </div>
666
+ </div>
667
+
668
+ <!-- CTA Section -->
669
+ <div class="gradient-bg">
670
+ <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center lg:justify-between">
671
+ <h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
672
+ <span class="block">Ready to automate your subtitles?</span>
673
+ <span class="block text-purple-200">Try AutoSub.ai free for your first 30 minutes.</span>
674
+ </h2>
675
+ <div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
676
+ <div class="inline-flex rounded-md shadow">
677
+ <a href="#upload" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-purple-600 bg-white hover:bg-gray-50">
678
+ Get Started
679
+ </a>
680
+ </div>
681
+ <div class="ml-3 inline-flex rounded-md shadow">
682
+ <a href="#" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-purple-800 bg-opacity-60 hover:bg-opacity-70">
683
+ Contact Sales
684
+ </a>
685
+ </div>
686
+ </div>
687
+ </div>
688
+ </div>
689
+
690
+ <!-- Footer -->
691
+ <footer class="bg-gray-800">
692
+ <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
693
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-8">
694
+ <div>
695
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Product</h3>
696
+ <ul class="mt-4 space-y-4">
697
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Features</a></li>
698
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Pricing</a></li>
699
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">API</a></li>
700
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Integrations</a></li>
701
+ </ul>
702
+ </div>
703
+ <div>
704
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Resources</h3>
705
+ <ul class="mt-4 space-y-4">
706
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Documentation</a></li>
707
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Guides</a></li>
708
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Blog</a></li>
709
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Support</a></li>
710
+ </ul>
711
+ </div>
712
+ <div>
713
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Company</h3>
714
+ <ul class="mt-4 space-y-4">
715
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">About</a></li>
716
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Careers</a></li>
717
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Privacy</a></li>
718
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Terms</a></li>
719
+ </ul>
720
+ </div>
721
+ <div>
722
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Connect</h3>
723
+ <ul class="mt-4 space-y-4">
724
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Twitter</a></li>
725
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">LinkedIn</a></li>
726
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Facebook</a></li>
727
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">YouTube</a></li>
728
+ </ul>
729
+ </div>
730
+ </div>
731
+ <div class="mt-8 border-t border-gray-700 pt-8 md:flex md:items-center md:justify-between">
732
+ <div class="flex space-x-6 md:order-2">
733
+ <a href="#" class="text-gray-400 hover:text-gray-300">
734
+ <i class="fab fa-twitter"></i>
735
+ </a>
736
+ <a href="#" class="text-gray-400 hover:text-gray-300">
737
+ <i class="fab fa-facebook-f"></i>
738
+ </a>
739
+ <a href="#" class="text-gray-400 hover:text-gray-300">
740
+ <i class="fab fa-instagram"></i>
741
+ </a>
742
+ <a href="#" class="text-gray-400 hover:text-gray-300">
743
+ <i class="fab fa-linkedin-in"></i>
744
+ </a>
745
+ </div>
746
+ <p class="mt-8 text-base text-gray-400 md:mt-0 md:order-1">
747
+ &copy; 2023 AutoSub.ai. All rights reserved.
748
+ </p>
749
+ </div>
750
+ </div>
751
+ </footer>
752
+
753
+ <script>
754
+ // Mobile menu toggle
755
+ document.getElementById('mobile-menu-button').addEventListener('click', function() {
756
+ const menu = document.getElementById('mobile-menu');
757
+ if (menu.classList.contains('hidden')) {
758
+ menu.classList.remove('hidden');
759
+ } else {
760
+ menu.classList.add('hidden');
761
+ }
762
+ });
763
+
764
+ // File upload handling
765
+ const dropArea = document.getElementById('dropArea');
766
+ const fileInput = document.getElementById('fileInput');
767
+ const fileInfo = document.getElementById('fileInfo');
768
+ const fileName = document.getElementById('fileName');
769
+ const fileSize = document.getElementById('fileSize');
770
+ const uploadProgress = document.getElementById('uploadProgress');
771
+ const uploadStatus = document.getElementById('uploadStatus');
772
+ const processButton = document.getElementById('processButton');
773
+ const removeFile = document.getElementById('removeFile');
774
+ const resultsSection = document.getElementById('resultsSection');
775
+
776
+ // Prevent default drag behaviors
777
+ ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
778
+ dropArea.addEventListener(eventName, preventDefaults, false);
779
+ });
780
+
781
+ function preventDefaults(e) {
782
+ e.preventDefault();
783
+ e.stopPropagation();
784
+ }
785
+
786
+ // Highlight drop area when item is dragged over it
787
+ ['dragenter', 'dragover'].forEach(eventName => {
788
+ dropArea.addEventListener(eventName, highlight, false);
789
+ });
790
+
791
+ ['dragleave', 'drop'].forEach(eventName => {
792
+ dropArea.addEventListener(eventName, unhighlight, false);
793
+ });
794
+
795
+ function highlight() {
796
+ dropArea.classList.add('active');
797
+ }
798
+
799
+ function unhighlight() {
800
+ dropArea.classList.remove('active');
801
+ }
802
+
803
+ // Handle dropped files
804
+ dropArea.addEventListener('drop', handleDrop, false);
805
+ dropArea.addEventListener('click', () => fileInput.click());
806
+
807
+ fileInput.addEventListener('change', function(e) {
808
+ handleFiles(e.target.files);
809
+ });
810
+
811
+ function handleDrop(e) {
812
+ const dt = e.dataTransfer;
813
+ const files = dt.files;
814
+ handleFiles(files);
815
+ }
816
+
817
+ function handleFiles(files) {
818
+ if (files.length > 0) {
819
+ const file = files[0];
820
+ displayFileInfo(file);
821
+ simulateUpload(file);
822
+ }
823
+ }
824
+
825
+ function displayFileInfo(file) {
826
+ fileName.textContent = file.name;
827
+ fileSize.textContent = formatFileSize(file.size);
828
+ fileInfo.classList.remove('hidden');
829
+ processButton.classList.remove('hidden');
830
+ }
831
+
832
+ function formatFileSize(bytes) {
833
+ if (bytes === 0) return '0 Bytes';
834
+ const k = 1024;
835
+ const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
836
+ const i = Math.floor(Math.log(bytes) / Math.log(k));
837
+ return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
838
+ }
839
+
840
+ function simulateUpload(file) {
841
+ let progress = 0;
842
+ const interval = setInterval(() => {
843
+ progress += Math.random() * 10;
844
+ if (progress >= 100) {
845
+ progress = 100;
846
+ clearInterval(interval);
847
+ uploadStatus.textContent = 'Upload complete!';
848
+ setTimeout(showResults, 1000);
849
+ }
850
+ uploadProgress.style.width = progress + '%';
851
+ }, 200);
852
+ }
853
+
854
+ function showResults() {
855
+ resultsSection.classList.remove('hidden');
856
+ // Scroll to results
857
+ resultsSection.scrollIntoView({ behavior: 'smooth' });
858
+ }
859
+
860
+ removeFile.addEventListener('click', function(e) {
861
+ e.stopPropagation();
862
+ fileInfo.classList.add('hidden');
863
+ processButton.classList.add('hidden');
864
+ fileInput.value = '';
865
+ uploadProgress.style.width = '0%';
866
+ uploadStatus.textContent = 'Uploading...';
867
+ });
868
+
869
+ // Process button click
870
+ processButton.addEventListener('click', function() {
871
+ this.textContent = 'Processing...';
872
+ this.disabled = true;
873
+
874
+ // Simulate processing
875
+ setTimeout(() => {
876
+ showResults();
877
+ }, 2000);
878
+ });
879
+
880
+ // Smooth scrolling for anchor links
881
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
882
+ anchor.addEventListener('click', function (e) {
883
+ e.preventDefault();
884
+
885
+ const targetId = this.getAttribute('href');
886
+ if (targetId === '#') return;
887
+
888
+ const targetElement = document.querySelector(targetId);
889
+ if (targetElement) {
890
+ targetElement.scrollIntoView({
891
+ behavior: 'smooth'
892
+ });
893
+
894
+ // Close mobile menu if open
895
+ const mobileMenu = document.getElementById('mobile-menu');
896
+ if (!mobileMenu.classList.contains('hidden')) {
897
+ mobileMenu.classList.add('hidden');
898
+ }
899
+ }
900
+ });
901
+ });
902
+ </script>
903
+ <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=emad600/auto-sub-ai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
904
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Build a complete, production-ready web app named AutoSub.ai. This app offers AI-powered video and audio transcription, multilingual subtitling, and voice-over generation. It must be fully automated, scalable, and user-friendly, requiring zero manual intervention after deployment.