Luxsplendida commited on
Commit
00ac594
·
verified ·
1 Parent(s): 9a0973a

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. index.html +370 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
  title: 10minute
3
- emoji: 🏆
4
- colorFrom: red
5
- colorTo: red
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: 10minute
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: pink
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,370 @@
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>10-Minute Video Generator</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
+ @keyframes pulse {
11
+ 0%, 100% { opacity: 1; }
12
+ 50% { opacity: 0.5; }
13
+ }
14
+ .animate-pulse {
15
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
16
+ }
17
+ .video-preview {
18
+ aspect-ratio: 16/9;
19
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
20
+ }
21
+ .progress-bar {
22
+ transition: width 0.3s ease;
23
+ }
24
+ .video-option:hover {
25
+ transform: translateY(-5px);
26
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
27
+ }
28
+ </style>
29
+ </head>
30
+ <body class="bg-gray-100 min-h-screen">
31
+ <div class="container mx-auto px-4 py-12">
32
+ <!-- Header -->
33
+ <header class="text-center mb-12">
34
+ <h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-4">
35
+ <span class="bg-clip-text text-transparent bg-gradient-to-r from-purple-600 to-blue-500">
36
+ 10-Minute Video Generator
37
+ </span>
38
+ </h1>
39
+ <p class="text-lg text-gray-600 max-w-2xl mx-auto">
40
+ Create professional 10-minute videos in seconds with our AI-powered generator. Perfect for content creators, marketers, and educators.
41
+ </p>
42
+ </header>
43
+
44
+ <!-- Main Content -->
45
+ <main class="max-w-6xl mx-auto">
46
+ <!-- Video Options -->
47
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
48
+ <div class="video-option bg-white rounded-xl p-6 shadow-lg transition-all duration-300 cursor-pointer border-2 border-transparent hover:border-purple-500">
49
+ <div class="flex items-center mb-4">
50
+ <div class="bg-purple-100 p-3 rounded-full mr-4">
51
+ <i class="fas fa-graduation-cap text-purple-600 text-xl"></i>
52
+ </div>
53
+ <h3 class="text-xl font-semibold text-gray-800">Educational</h3>
54
+ </div>
55
+ <p class="text-gray-600 mb-4">Generate explainer videos with clear narration and visuals.</p>
56
+ <button class="select-option w-full py-2 bg-purple-600 hover:bg-purple-700 text-white rounded-lg transition">
57
+ Select
58
+ </button>
59
+ </div>
60
+
61
+ <div class="video-option bg-white rounded-xl p-6 shadow-lg transition-all duration-300 cursor-pointer border-2 border-transparent hover:border-blue-500">
62
+ <div class="flex items-center mb-4">
63
+ <div class="bg-blue-100 p-3 rounded-full mr-4">
64
+ <i class="fas fa-chart-line text-blue-600 text-xl"></i>
65
+ </div>
66
+ <h3 class="text-xl font-semibold text-gray-800">Marketing</h3>
67
+ </div>
68
+ <p class="text-gray-600 mb-4">Create promotional videos with compelling calls-to-action.</p>
69
+ <button class="select-option w-full py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg transition">
70
+ Select
71
+ </button>
72
+ </div>
73
+
74
+ <div class="video-option bg-white rounded-xl p-6 shadow-lg transition-all duration-300 cursor-pointer border-2 border-transparent hover:border-pink-500">
75
+ <div class="flex items-center mb-4">
76
+ <div class="bg-pink-100 p-3 rounded-full mr-4">
77
+ <i class="fas fa-gamepad text-pink-600 text-xl"></i>
78
+ </div>
79
+ <h3 class="text-xl font-semibold text-gray-800">Entertainment</h3>
80
+ </div>
81
+ <p class="text-gray-600 mb-4">Generate fun, engaging content for your audience.</p>
82
+ <button class="select-option w-full py-2 bg-pink-600 hover:bg-pink-700 text-white rounded-lg transition">
83
+ Select
84
+ </button>
85
+ </div>
86
+ </div>
87
+
88
+ <!-- Video Customization -->
89
+ <div class="bg-white rounded-xl shadow-xl p-6 mb-12">
90
+ <h2 class="text-2xl font-bold text-gray-800 mb-6">Customize Your Video</h2>
91
+
92
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
93
+ <div>
94
+ <label class="block text-gray-700 font-medium mb-2">Video Topic</label>
95
+ <input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500 outline-none transition" placeholder="Enter your video topic">
96
+ </div>
97
+
98
+ <div>
99
+ <label class="block text-gray-700 font-medium mb-2">Style</label>
100
+ <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500 outline-none transition">
101
+ <option>Modern</option>
102
+ <option>Minimalist</option>
103
+ <option>Retro</option>
104
+ <option>Futuristic</option>
105
+ </select>
106
+ </div>
107
+
108
+ <div>
109
+ <label class="block text-gray-700 font-medium mb-2">Voice Over</label>
110
+ <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500 outline-none transition">
111
+ <option>Male - Professional</option>
112
+ <option>Female - Professional</option>
113
+ <option>Male - Friendly</option>
114
+ <option>Female - Friendly</option>
115
+ </select>
116
+ </div>
117
+
118
+ <div>
119
+ <label class="block text-gray-700 font-medium mb-2">Background Music</label>
120
+ <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500 outline-none transition">
121
+ <option>Upbeat</option>
122
+ <option>Calm</option>
123
+ <option>Corporate</option>
124
+ <option>None</option>
125
+ </select>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="mb-6">
130
+ <label class="block text-gray-700 font-medium mb-2">Additional Instructions</label>
131
+ <textarea class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500 outline-none transition h-32" placeholder="Any specific requirements for your video..."></textarea>
132
+ </div>
133
+
134
+ <button id="generate-btn" class="w-full py-4 bg-gradient-to-r from-purple-600 to-blue-500 hover:from-purple-700 hover:to-blue-600 text-white font-bold rounded-lg shadow-lg transition-all transform hover:scale-105">
135
+ <i class="fas fa-magic mr-2"></i> Generate 10-Minute Video
136
+ </button>
137
+ </div>
138
+
139
+ <!-- Video Generation Section -->
140
+ <div id="generation-section" class="hidden bg-white rounded-xl shadow-xl p-6 mb-12">
141
+ <h2 class="text-2xl font-bold text-gray-800 mb-6">Generating Your Video</h2>
142
+
143
+ <div class="flex flex-col items-center">
144
+ <div class="relative w-full max-w-3xl mb-8">
145
+ <div class="video-preview rounded-xl mb-4 flex items-center justify-center">
146
+ <div class="text-center">
147
+ <div class="animate-spin rounded-full h-16 w-16 border-t-4 border-b-4 border-purple-500 mx-auto mb-4"></div>
148
+ <p class="text-white font-medium">Generating your 10-minute video...</p>
149
+ </div>
150
+ </div>
151
+
152
+ <div class="bg-gray-200 rounded-full h-4 mb-6">
153
+ <div id="progress-bar" class="progress-bar h-4 rounded-full bg-gradient-to-r from-blue-500 to-purple-600" style="width: 0%"></div>
154
+ </div>
155
+
156
+ <div class="flex justify-between text-sm text-gray-600 mb-8">
157
+ <span>0:00</span>
158
+ <span>10:00</span>
159
+ </div>
160
+ </div>
161
+
162
+ <div id="progress-messages" class="w-full max-w-3xl space-y-4 mb-8">
163
+ <div class="flex items-start">
164
+ <div class="bg-green-100 p-2 rounded-full mr-3 mt-1">
165
+ <i class="fas fa-check text-green-600"></i>
166
+ </div>
167
+ <div>
168
+ <p class="font-medium text-gray-800">Initializing video generation</p>
169
+ <p class="text-sm text-gray-600">Preparing assets and scripts</p>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </div>
175
+
176
+ <!-- Results Section -->
177
+ <div id="results-section" class="hidden bg-white rounded-xl shadow-xl p-6">
178
+ <h2 class="text-2xl font-bold text-gray-800 mb-6">Your Video is Ready!</h2>
179
+
180
+ <div class="flex flex-col md:flex-row gap-8 mb-8">
181
+ <div class="md:w-2/3">
182
+ <div class="video-preview rounded-xl overflow-hidden relative">
183
+ <div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center">
184
+ <button class="bg-white bg-opacity-90 hover:bg-opacity-100 text-purple-600 rounded-full p-4 shadow-lg transform hover:scale-110 transition">
185
+ <i class="fas fa-play text-2xl"></i>
186
+ </button>
187
+ </div>
188
+ </div>
189
+ </div>
190
+
191
+ <div class="md:w-1/3">
192
+ <h3 class="text-xl font-bold text-gray-800 mb-4">Video Details</h3>
193
+ <div class="space-y-4">
194
+ <div>
195
+ <p class="text-sm text-gray-500">Duration</p>
196
+ <p class="font-medium">10:00</p>
197
+ </div>
198
+ <div>
199
+ <p class="text-sm text-gray-500">Resolution</p>
200
+ <p class="font-medium">1080p HD</p>
201
+ </div>
202
+ <div>
203
+ <p class="text-sm text-gray-500">File Size</p>
204
+ <p class="font-medium">125 MB</p>
205
+ </div>
206
+ <div>
207
+ <p class="text-sm text-gray-500">Generated At</p>
208
+ <p class="font-medium" id="generated-time"></p>
209
+ </div>
210
+ </div>
211
+
212
+ <div class="mt-6 space-y-3">
213
+ <button class="w-full py-3 bg-purple-600 hover:bg-purple-700 text-white rounded-lg font-medium flex items-center justify-center">
214
+ <i class="fas fa-download mr-2"></i> Download Video
215
+ </button>
216
+ <button class="w-full py-3 border border-purple-600 text-purple-600 hover:bg-purple-50 rounded-lg font-medium flex items-center justify-center">
217
+ <i class="fas fa-redo mr-2"></i> Regenerate
218
+ </button>
219
+ <button class="w-full py-3 border border-gray-300 text-gray-700 hover:bg-gray-50 rounded-lg font-medium flex items-center justify-center">
220
+ <i class="fas fa-share-alt mr-2"></i> Share
221
+ </button>
222
+ </div>
223
+ </div>
224
+ </div>
225
+
226
+ <div class="bg-gray-50 rounded-lg p-6">
227
+ <h3 class="text-lg font-bold text-gray-800 mb-4">Next Steps</h3>
228
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
229
+ <div class="bg-white p-4 rounded-lg border border-gray-200">
230
+ <div class="flex items-center mb-2">
231
+ <div class="bg-blue-100 p-2 rounded-full mr-3">
232
+ <i class="fas fa-edit text-blue-600"></i>
233
+ </div>
234
+ <h4 class="font-medium">Edit Video</h4>
235
+ </div>
236
+ <p class="text-sm text-gray-600">Make adjustments to your generated video.</p>
237
+ </div>
238
+ <div class="bg-white p-4 rounded-lg border border-gray-200">
239
+ <div class="flex items-center mb-2">
240
+ <div class="bg-green-100 p-2 rounded-full mr-3">
241
+ <i class="fas fa-upload text-green-600"></i>
242
+ </div>
243
+ <h4 class="font-medium">Publish</h4>
244
+ </div>
245
+ <p class="text-sm text-gray-600">Upload directly to YouTube or other platforms.</p>
246
+ </div>
247
+ <div class="bg-white p-4 rounded-lg border border-gray-200">
248
+ <div class="flex items-center mb-2">
249
+ <div class="bg-purple-100 p-2 rounded-full mr-3">
250
+ <i class="fas fa-copy text-purple-600"></i>
251
+ </div>
252
+ <h4 class="font-medium">Create Another</h4>
253
+ </div>
254
+ <p class="text-sm text-gray-600">Generate a new video with different settings.</p>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ </div>
259
+ </main>
260
+
261
+ <!-- Footer -->
262
+ <footer class="mt-16 text-center text-gray-600">
263
+ <div class="flex justify-center space-x-6 mb-4">
264
+ <a href="#" class="hover:text-purple-600"><i class="fab fa-twitter"></i></a>
265
+ <a href="#" class="hover:text-purple-600"><i class="fab fa-facebook"></i></a>
266
+ <a href="#" class="hover:text-purple-600"><i class="fab fa-instagram"></i></a>
267
+ <a href="#" class="hover:text-purple-600"><i class="fab fa-linkedin"></i></a>
268
+ </div>
269
+ <p class="mb-2">© 2023 10-Minute Video Generator. All rights reserved.</p>
270
+ <p class="text-sm">Powered by AI Video Technology</p>
271
+ </footer>
272
+ </div>
273
+
274
+ <script>
275
+ document.addEventListener('DOMContentLoaded', function() {
276
+ // Select video option
277
+ const options = document.querySelectorAll('.select-option');
278
+ options.forEach(option => {
279
+ option.addEventListener('click', function() {
280
+ options.forEach(opt => {
281
+ opt.classList.remove('bg-purple-700', 'bg-blue-700', 'bg-pink-700');
282
+ opt.classList.add('bg-purple-600', 'bg-blue-600', 'bg-pink-600');
283
+ });
284
+
285
+ if(this.classList.contains('bg-purple-600')) {
286
+ this.classList.remove('bg-purple-600');
287
+ this.classList.add('bg-purple-700');
288
+ } else if(this.classList.contains('bg-blue-600')) {
289
+ this.classList.remove('bg-blue-600');
290
+ this.classList.add('bg-blue-700');
291
+ } else if(this.classList.contains('bg-pink-600')) {
292
+ this.classList.remove('bg-pink-600');
293
+ this.classList.add('bg-pink-700');
294
+ }
295
+ });
296
+ });
297
+
298
+ // Generate video
299
+ const generateBtn = document.getElementById('generate-btn');
300
+ const generationSection = document.getElementById('generation-section');
301
+ const resultsSection = document.getElementById('results-section');
302
+ const progressBar = document.getElementById('progress-bar');
303
+ const progressMessages = document.getElementById('progress-messages');
304
+ const generatedTime = document.getElementById('generated-time');
305
+
306
+ generateBtn.addEventListener('click', function() {
307
+ generationSection.classList.remove('hidden');
308
+ generationSection.scrollIntoView({ behavior: 'smooth' });
309
+
310
+ // Simulate generation progress
311
+ let progress = 0;
312
+ const interval = setInterval(() => {
313
+ progress += Math.random() * 5;
314
+ if(progress > 100) progress = 100;
315
+ progressBar.style.width = progress + '%';
316
+
317
+ // Add progress messages
318
+ if(progress > 20 && progress < 25) {
319
+ addProgressMessage('Script generation complete', 'AI has created the video script');
320
+ }
321
+ if(progress > 40 && progress < 45) {
322
+ addProgressMessage('Visual assets selected', 'Relevant images and clips added');
323
+ }
324
+ if(progress > 60 && progress < 65) {
325
+ addProgressMessage('Voice over generated', 'Narration added to timeline');
326
+ }
327
+ if(progress > 80 && progress < 85) {
328
+ addProgressMessage('Final rendering', 'Combining all elements');
329
+ }
330
+
331
+ if(progress >= 100) {
332
+ clearInterval(interval);
333
+ setTimeout(() => {
334
+ generationSection.classList.add('hidden');
335
+ resultsSection.classList.remove('hidden');
336
+
337
+ // Set current time
338
+ const now = new Date();
339
+ generatedTime.textContent = now.toLocaleString();
340
+
341
+ resultsSection.scrollIntoView({ behavior: 'smooth' });
342
+ }, 1000);
343
+ }
344
+ }, 300);
345
+ });
346
+
347
+ function addProgressMessage(title, description) {
348
+ // Check if this message already exists
349
+ const existingMessages = progressMessages.querySelectorAll('p');
350
+ for(let msg of existingMessages) {
351
+ if(msg.textContent.includes(title)) return;
352
+ }
353
+
354
+ const message = document.createElement('div');
355
+ message.className = 'flex items-start';
356
+ message.innerHTML = `
357
+ <div class="bg-blue-100 p-2 rounded-full mr-3 mt-1">
358
+ <i class="fas fa-check text-blue-600"></i>
359
+ </div>
360
+ <div>
361
+ <p class="font-medium text-gray-800">${title}</p>
362
+ <p class="text-sm text-gray-600">${description}</p>
363
+ </div>
364
+ `;
365
+ progressMessages.appendChild(message);
366
+ }
367
+ });
368
+ </script>
369
+ <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=Luxsplendida/10minute" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
370
+ </html>
prompts.txt ADDED
File without changes