Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +6 -4
- index.html +152 -19
- prompts.txt +0 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
colorFrom: yellow
|
5 |
-
colorTo:
|
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: video2audio
|
3 |
+
emoji: 🐳
|
4 |
colorFrom: yellow
|
5 |
+
colorTo: gray
|
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,152 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>Video2Audio - Simple Converter</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 |
+
.custom-shadow {
|
11 |
+
box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
|
12 |
+
}
|
13 |
+
.bg-custom-gradient {
|
14 |
+
background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
|
15 |
+
}
|
16 |
+
</style>
|
17 |
+
</head>
|
18 |
+
<body class="bg-black text-white">
|
19 |
+
<div class="min-h-screen bg-custom-gradient">
|
20 |
+
<header class="container mx-auto px-4 py-8">
|
21 |
+
<div class="flex items-center justify-between">
|
22 |
+
<div class="flex items-center">
|
23 |
+
<i class="fas fa-microphone-alt text-red-600 text-3xl mr-2"></i>
|
24 |
+
<h1 class="text-2xl font-bold">Video<span class="text-red-600">2Audio</span></h1>
|
25 |
+
</div>
|
26 |
+
<nav>
|
27 |
+
<ul class="flex space-x-6">
|
28 |
+
<li><a href="#" class="hover:text-red-600">Home</a></li>
|
29 |
+
<li><a href="#" class="hover:text-red-600">About</a></li>
|
30 |
+
<li><a href="#" class="hover:text-red-600">FAQ</a></li>
|
31 |
+
</ul>
|
32 |
+
</nav>
|
33 |
+
</div>
|
34 |
+
</header>
|
35 |
+
|
36 |
+
<main class="container mx-auto px-4 py-12">
|
37 |
+
<div class="max-w-4xl mx-auto text-center mb-12">
|
38 |
+
<h2 class="text-4xl font-bold mb-4">Convert Videos to Audio Easily</h2>
|
39 |
+
<p class="text-gray-400">Extract audio from any video file or YouTube URL</p>
|
40 |
+
</div>
|
41 |
+
|
42 |
+
<div class="max-w-2xl mx-auto bg-gray-900 rounded-xl p-8 custom-shadow">
|
43 |
+
<div class="mb-6">
|
44 |
+
<div class="flex mb-4">
|
45 |
+
<button class="bg-red-600 text-white px-6 py-2 rounded-l-lg font-medium">URL</button>
|
46 |
+
<button class="bg-gray-800 text-white px-6 py-2 font-medium">Upload</button>
|
47 |
+
<button class="bg-gray-800 text-white px-6 py-2 rounded-r-lg font-medium">Device</button>
|
48 |
+
</div>
|
49 |
+
<div class="relative">
|
50 |
+
<input type="text" placeholder="Paste YouTube URL or video link here"
|
51 |
+
class="w-full bg-gray-800 border border-gray-700 rounded-lg py-4 px-4 focus:outline-none focus:border-red-600 placeholder-gray-500">
|
52 |
+
<button class="absolute right-2 top-2 bg-red-600 text-white px-6 py-2 rounded-lg"><i class="fas fa-arrow-right"></i></button>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
|
56 |
+
<div class="mb-8">
|
57 |
+
<h3 class="font-medium mb-3">Output Format</h3>
|
58 |
+
<div class="flex flex-wrap gap-3">
|
59 |
+
<button class="bg-gray-800 hover:bg-red-600 text-white px-4 py-2 rounded-lg">MP3</button>
|
60 |
+
<button class="bg-gray-800 hover:bg-red-600 text-white px-4 py-2 rounded-lg">WAV</button>
|
61 |
+
<button class="bg-gray-800 hover:bg-red-600 text-white px-4 py-2 rounded-lg">M4A</button>
|
62 |
+
<button class="bg-gray-800 hover:bg-red-600 text-white px-4 py-2 rounded-lg">OGG</button>
|
63 |
+
<button class="bg-gray-800 hover:bg-red-600 text-white px-4 py-2 rounded-lg">FLAC</button>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<div class="mb-6">
|
68 |
+
<h3 class="font-medium mb-3">Bitrate</h3>
|
69 |
+
<div class="flex items-center space-x-4">
|
70 |
+
<div class="w-full bg-gray-800 rounded-lg h-2">
|
71 |
+
<div class="bg-red-600 h-2 rounded-lg" style="width: 70%"></div>
|
72 |
+
</div>
|
73 |
+
<span class="text-gray-400">320 kbps</span>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
|
77 |
+
<button class="w-full bg-red-600 hover:bg-red-700 text-white py-4 rounded-lg font-bold text-lg">
|
78 |
+
Convert Now <i class="fas fa-bolt ml-2"></i>
|
79 |
+
</button>
|
80 |
+
|
81 |
+
<div class="mt-6 text-center text-gray-400 text-sm">
|
82 |
+
<p>By using our service, you agree to our <a href="#" class="text-red-400 hover:underline">Terms of Service</a>.</p>
|
83 |
+
<p>We respect your privacy and comply with all applicable laws.</p>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
</main>
|
87 |
+
|
88 |
+
<section class="container mx-auto px-4 py-12">
|
89 |
+
<div class="max-w-4xl mx-auto">
|
90 |
+
<h2 class="text-3xl font-bold mb-8 text-center">Why Choose Our Service?</h2>
|
91 |
+
<div class="grid md:grid-cols-3 gap-8">
|
92 |
+
<div class="bg-gray-900 p-6 rounded-xl text-center custom-shadow">
|
93 |
+
<div class="text-red-600 text-4xl mb-4"><i class="fas fa-shield-alt"></i></div>
|
94 |
+
<h3 class="text-xl font-bold mb-2">Safe & Secure</h3>
|
95 |
+
<p class="text-gray-400">Your files are processed securely and deleted immediately after conversion.</p>
|
96 |
+
</div>
|
97 |
+
<div class="bg-gray-900 p-6 rounded-xl text-center custom-shadow">
|
98 |
+
<div class="text-red-600 text-4xl mb-4"><i class="fas fa-bolt"></i></div>
|
99 |
+
<h3 class="text-xl font-bold mb-2">Fast Conversion</h3>
|
100 |
+
<p class="text-gray-400">Convert files in seconds with our high-speed servers.</p>
|
101 |
+
</div>
|
102 |
+
<div class="bg-gray-900 p-6 rounded-xl text-center custom-shadow">
|
103 |
+
<div class="text-red-600 text-4xl mb-4"><i class="fas fa-mobile-alt"></i></div>
|
104 |
+
<h3 class="text-xl font-bold mb-2">Mobile Friendly</h3>
|
105 |
+
<p class="text-gray-400">Works perfectly on all devices, anywhere.</p>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
</section>
|
110 |
+
|
111 |
+
<footer class="bg-black py-8">
|
112 |
+
<div class="container mx-auto px-4">
|
113 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
114 |
+
<div class="mb-4 md:mb-0">
|
115 |
+
<h3 class="text-xl font-bold">Video<span class="text-red-600">2Audio</span></h3>
|
116 |
+
<p class="text-gray-500 text-sm">© 2023 All Rights Reserved</p>
|
117 |
+
</div>
|
118 |
+
<div class="flex space-x-6">
|
119 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a>
|
120 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
|
121 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
|
122 |
+
</div>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
</footer>
|
126 |
+
</div>
|
127 |
+
|
128 |
+
<script>
|
129 |
+
// Simple demo functionality
|
130 |
+
document.querySelector('.fa-arrow-right').parentElement.addEventListener('click', function() {
|
131 |
+
const urlInput = document.querySelector('input[type="text"]');
|
132 |
+
if (urlInput.value.trim() === '') {
|
133 |
+
alert('Please enter a valid video URL');
|
134 |
+
return;
|
135 |
+
}
|
136 |
+
|
137 |
+
if (!urlInput.value.includes('http')) {
|
138 |
+
alert('Please enter a valid URL starting with http:// or https://');
|
139 |
+
return;
|
140 |
+
}
|
141 |
+
|
142 |
+
// In a real app, this would send the URL to a backend for processing
|
143 |
+
console.log('Converting URL:', urlInput.value);
|
144 |
+
|
145 |
+
// Show a success message (in a real app, this would happen after conversion)
|
146 |
+
setTimeout(() => {
|
147 |
+
alert('Conversion complete! Your audio file is ready to download.');
|
148 |
+
}, 2000);
|
149 |
+
});
|
150 |
+
</script>
|
151 |
+
<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=dropkickJesus999/video2audio" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
152 |
+
</html>
|
prompts.txt
ADDED
File without changes
|