Add 2 files
Browse files- README.md +6 -4
- index.html +259 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: red
|
| 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: ideas
|
| 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,259 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>ElevenLabs AI Voice Cloning Studio</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 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Inter', sans-serif;
|
| 14 |
+
background-color: #f8fafc;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.gradient-bg {
|
| 18 |
+
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.waveform {
|
| 22 |
+
background: repeating-linear-gradient(
|
| 23 |
+
90deg,
|
| 24 |
+
#e2e8f0,
|
| 25 |
+
#e2e8f0 2px,
|
| 26 |
+
transparent 2px,
|
| 27 |
+
transparent 4px
|
| 28 |
+
);
|
| 29 |
+
height: 60px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.voice-card:hover {
|
| 33 |
+
transform: translateY(-5px);
|
| 34 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.recording {
|
| 38 |
+
animation: pulse 1.5s infinite;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
@keyframes pulse {
|
| 42 |
+
0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
|
| 43 |
+
70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
|
| 44 |
+
100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.play-btn {
|
| 48 |
+
transition: all 0.3s ease;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.play-btn:hover {
|
| 52 |
+
transform: scale(1.1);
|
| 53 |
+
}
|
| 54 |
+
</style>
|
| 55 |
+
</head>
|
| 56 |
+
<body>
|
| 57 |
+
<div class="min-h-screen">
|
| 58 |
+
<!-- Header -->
|
| 59 |
+
<header class="gradient-bg text-white">
|
| 60 |
+
<div class="container mx-auto px-4 py-6">
|
| 61 |
+
<div class="flex justify-between items-center">
|
| 62 |
+
<div class="flex items-center space-x-2">
|
| 63 |
+
<i class="fas fa-robot text-3xl"></i>
|
| 64 |
+
<h1 class="text-2xl font-bold">ElevenLabs Voice Studio</h1>
|
| 65 |
+
</div>
|
| 66 |
+
<div class="flex items-center space-x-4">
|
| 67 |
+
<button class="px-4 py-2 bg-white text-indigo-600 rounded-lg font-medium hover:bg-gray-100 transition">
|
| 68 |
+
<i class="fas fa-key mr-2"></i>API Key
|
| 69 |
+
</button>
|
| 70 |
+
<button class="px-4 py-2 bg-indigo-700 text-white rounded-lg font-medium hover:bg-indigo-800 transition">
|
| 71 |
+
<i class="fas fa-user mr-2"></i>Account
|
| 72 |
+
</button>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</header>
|
| 77 |
+
|
| 78 |
+
<!-- Main Content -->
|
| 79 |
+
<main class="container mx-auto px-4 py-8">
|
| 80 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 81 |
+
<!-- Left Sidebar - Voice Management -->
|
| 82 |
+
<div class="lg:col-span-1 bg-white rounded-xl shadow-md p-6">
|
| 83 |
+
<div class="flex justify-between items-center mb-6">
|
| 84 |
+
<h2 class="text-xl font-semibold text-gray-800">My Voices</h2>
|
| 85 |
+
<button id="newVoiceBtn" class="px-3 py-1 bg-indigo-600 text-white rounded-lg text-sm hover:bg-indigo-700 transition">
|
| 86 |
+
<i class="fas fa-plus mr-1"></i> New
|
| 87 |
+
</button>
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
<div class="space-y-4">
|
| 91 |
+
<!-- Voice Cards -->
|
| 92 |
+
<div class="voice-card bg-gray-50 rounded-lg p-4 border border-gray-200 transition duration-300 cursor-pointer">
|
| 93 |
+
<div class="flex items-center space-x-3">
|
| 94 |
+
<div class="w-12 h-12 rounded-full bg-indigo-100 flex items-center justify-center">
|
| 95 |
+
<i class="fas fa-user text-indigo-600"></i>
|
| 96 |
+
</div>
|
| 97 |
+
<div>
|
| 98 |
+
<h3 class="font-medium text-gray-800">Professional Male</h3>
|
| 99 |
+
<p class="text-xs text-gray-500">English • Standard</p>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
<div class="mt-3 flex justify-between items-center">
|
| 103 |
+
<span class="text-xs px-2 py-1 bg-green-100 text-green-800 rounded">Active</span>
|
| 104 |
+
<div class="flex space-x-2">
|
| 105 |
+
<button class="text-gray-500 hover:text-indigo-600">
|
| 106 |
+
<i class="fas fa-play play-btn"></i>
|
| 107 |
+
</button>
|
| 108 |
+
<button class="text-gray-500 hover:text-indigo-600">
|
| 109 |
+
<i class="fas fa-edit"></i>
|
| 110 |
+
</button>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<div class="voice-card bg-gray-50 rounded-lg p-4 border border-gray-200 transition duration-300 cursor-pointer">
|
| 116 |
+
<div class="flex items-center space-x-3">
|
| 117 |
+
<div class="w-12 h-12 rounded-full bg-pink-100 flex items-center justify-center">
|
| 118 |
+
<i class="fas fa-user text-pink-600"></i>
|
| 119 |
+
</div>
|
| 120 |
+
<div>
|
| 121 |
+
<h3 class="font-medium text-gray-800">Friendly Female</h3>
|
| 122 |
+
<p class="text-xs text-gray-500">English • Conversational</p>
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
<div class="mt-3 flex justify-between items-center">
|
| 126 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded">Inactive</span>
|
| 127 |
+
<div class="flex space-x-2">
|
| 128 |
+
<button class="text-gray-500 hover:text-indigo-600">
|
| 129 |
+
<i class="fas fa-play play-btn"></i>
|
| 130 |
+
</button>
|
| 131 |
+
<button class="text-gray-500 hover:text-indigo-600">
|
| 132 |
+
<i class="fas fa-edit"></i>
|
| 133 |
+
</button>
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
|
| 138 |
+
<div class="voice-card bg-gray-50 rounded-lg p-4 border border-gray-200 transition duration-300 cursor-pointer">
|
| 139 |
+
<div class="flex items-center space-x-3">
|
| 140 |
+
<div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center">
|
| 141 |
+
<i class="fas fa-user text-purple-600"></i>
|
| 142 |
+
</div>
|
| 143 |
+
<div>
|
| 144 |
+
<h3 class="font-medium text-gray-800">British Narrator</h3>
|
| 145 |
+
<p class="text-xs text-gray-500">English • British</p>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
<div class="mt-3 flex justify-between items-center">
|
| 149 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded">Inactive</span>
|
| 150 |
+
<div class="flex space-x-2">
|
| 151 |
+
<button class="text-gray-500 hover:text-indigo-600">
|
| 152 |
+
<i class="fas fa-play play-btn"></i>
|
| 153 |
+
</button>
|
| 154 |
+
<button class="text-gray-500 hover:text-indigo-600">
|
| 155 |
+
<i class="fas fa-edit"></i>
|
| 156 |
+
</button>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
|
| 162 |
+
<!-- Add Voice Modal (hidden by default) -->
|
| 163 |
+
<div id="addVoiceModal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50">
|
| 164 |
+
<div class="bg-white rounded-xl p-6 w-full max-w-md">
|
| 165 |
+
<div class="flex justify-between items-center mb-4">
|
| 166 |
+
<h3 class="text-lg font-semibold">Create New Voice</h3>
|
| 167 |
+
<button id="closeModalBtn" class="text-gray-500 hover:text-gray-700">
|
| 168 |
+
<i class="fas fa-times"></i>
|
| 169 |
+
</button>
|
| 170 |
+
</div>
|
| 171 |
+
|
| 172 |
+
<div class="space-y-4">
|
| 173 |
+
<div>
|
| 174 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Voice Name</label>
|
| 175 |
+
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500">
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<div>
|
| 179 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Voice Type</label>
|
| 180 |
+
<select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500">
|
| 181 |
+
<option>Clone from audio</option>
|
| 182 |
+
<option>Use preset voice</option>
|
| 183 |
+
<option>Generate random voice</option>
|
| 184 |
+
</select>
|
| 185 |
+
</div>
|
| 186 |
+
|
| 187 |
+
<div id="audioUploadSection">
|
| 188 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Upload Audio Samples</label>
|
| 189 |
+
<div class="border-2 border-dashed border-gray-300 rounded-lg p-6 text-center">
|
| 190 |
+
<i class="fas fa-microphone text-3xl text-gray-400 mb-2"></i>
|
| 191 |
+
<p class="text-sm text-gray-500">Drag & drop audio files here or click to browse</p>
|
| 192 |
+
<input type="file" class="hidden" accept="audio/*">
|
| 193 |
+
</div>
|
| 194 |
+
<p class="mt-1 text-xs text-gray-500">Upload at least 30 seconds of clear speech for best results</p>
|
| 195 |
+
</div>
|
| 196 |
+
|
| 197 |
+
<div class="flex justify-end space-x-3 pt-4">
|
| 198 |
+
<button class="px-4 py-2 border border-gray-300 rounded-lg text-gray-700 hover:bg-gray-50">Cancel</button>
|
| 199 |
+
<button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">Create Voice</button>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
|
| 206 |
+
<!-- Main Content - Text to Speech -->
|
| 207 |
+
<div class="lg:col-span-2 space-y-6">
|
| 208 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 209 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-4">Text to Speech</h2>
|
| 210 |
+
|
| 211 |
+
<div class="mb-4">
|
| 212 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Select Voice</label>
|
| 213 |
+
<div class="flex items-center space-x-3">
|
| 214 |
+
<select class="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500">
|
| 215 |
+
<option>Professional Male</option>
|
| 216 |
+
<option>Friendly Female</option>
|
| 217 |
+
<option>British Narrator</option>
|
| 218 |
+
</select>
|
| 219 |
+
<button class="px-3 py-2 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200">
|
| 220 |
+
<i class="fas fa-random"></i>
|
| 221 |
+
</button>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
|
| 225 |
+
<div class="mb-4">
|
| 226 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Enter Text</label>
|
| 227 |
+
<textarea rows="5" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500" placeholder="Type or paste your text here...">Hello, this is a demonstration of the ElevenLabs AI voice cloning technology. The voice you're hearing has been generated by artificial intelligence.</textarea>
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
| 231 |
+
<div>
|
| 232 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Stability</label>
|
| 233 |
+
<input type="range" min="0" max="100" value="75" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
|
| 234 |
+
<div class="flex justify-between text-xs text-gray-500 mt-1">
|
| 235 |
+
<span>More variable</span>
|
| 236 |
+
<span>More stable</span>
|
| 237 |
+
</div>
|
| 238 |
+
</div>
|
| 239 |
+
<div>
|
| 240 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Clarity + Similarity</label>
|
| 241 |
+
<input type="range" min="0" max="100" value="65" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
|
| 242 |
+
<div class="flex justify-between text-xs text-gray-500 mt-1">
|
| 243 |
+
<span>More clear</span>
|
| 244 |
+
<span>More similar</span>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
|
| 249 |
+
<div class="flex flex-wrap gap-3">
|
| 250 |
+
<button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 flex items-center">
|
| 251 |
+
<i class="fas fa-play mr-2"></i> Generate
|
| 252 |
+
</button>
|
| 253 |
+
<button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 flex items-center">
|
| 254 |
+
<i class="fas fa-download mr-2"></i> Download
|
| 255 |
+
</button>
|
| 256 |
+
<button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 flex items-center">
|
| 257 |
+
<i class="fas fa-share-alt mr-2"></i> Share
|
| 258 |
+
|
| 259 |
+
</html>
|