Add 2 files
Browse files- README.md +7 -5
- index.html +317 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
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: test
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: yellow
|
5 |
+
colorTo: red
|
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,317 @@
|
|
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>Artistic Render 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 |
+
.gradient-bg {
|
11 |
+
background: linear-gradient(135deg, #1e1b4b 0%, #701a75 100%);
|
12 |
+
}
|
13 |
+
.nsfw-badge {
|
14 |
+
animation: pulse 2s infinite;
|
15 |
+
}
|
16 |
+
@keyframes pulse {
|
17 |
+
0% { transform: scale(1); }
|
18 |
+
50% { transform: scale(1.05); }
|
19 |
+
100% { transform: scale(1); }
|
20 |
+
}
|
21 |
+
.image-placeholder {
|
22 |
+
background: linear-gradient(45deg, #2e1065 25%, #4c1d95 50%, #2e1065 75%);
|
23 |
+
background-size: 400% 400%;
|
24 |
+
animation: gradient 15s ease infinite;
|
25 |
+
}
|
26 |
+
@keyframes gradient {
|
27 |
+
0% { background-position: 0% 50%; }
|
28 |
+
50% { background-position: 100% 50%; }
|
29 |
+
100% { background-position: 0% 50%; }
|
30 |
+
}
|
31 |
+
.blur-overlay {
|
32 |
+
backdrop-filter: blur(10px);
|
33 |
+
-webkit-backdrop-filter: blur(10px);
|
34 |
+
}
|
35 |
+
</style>
|
36 |
+
</head>
|
37 |
+
<body class="gradient-bg min-h-screen text-white">
|
38 |
+
<div class="container mx-auto px-4 py-8">
|
39 |
+
<!-- Age Verification Modal -->
|
40 |
+
<div id="ageModal" class="fixed inset-0 flex items-center justify-center z-50 blur-overlay">
|
41 |
+
<div class="bg-gray-900 rounded-xl p-8 max-w-md w-full mx-4 border border-pink-500">
|
42 |
+
<div class="text-center mb-6">
|
43 |
+
<i class="fas fa-exclamation-triangle text-4xl text-pink-500 mb-4"></i>
|
44 |
+
<h2 class="text-2xl font-bold mb-2">Age Verification</h2>
|
45 |
+
<p class="text-gray-300">This content is restricted to adults only. You must be 18+ to continue.</p>
|
46 |
+
</div>
|
47 |
+
<div class="flex flex-col space-y-4">
|
48 |
+
<button id="confirmAge" class="bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-4 rounded-lg transition">
|
49 |
+
I'm 18 or older - Enter
|
50 |
+
</button>
|
51 |
+
<button onclick="window.location.href='https://www.google.com'" class="bg-gray-700 hover:bg-gray-600 text-white font-bold py-3 px-4 rounded-lg transition">
|
52 |
+
I'm under 18 - Exit
|
53 |
+
</button>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
|
58 |
+
<!-- Main App (hidden until age verification) -->
|
59 |
+
<div id="mainApp" class="hidden">
|
60 |
+
<!-- Header -->
|
61 |
+
<header class="flex justify-between items-center mb-8">
|
62 |
+
<div class="flex items-center">
|
63 |
+
<i class="fas fa-paint-brush text-3xl text-pink-400 mr-3"></i>
|
64 |
+
<h1 class="text-2xl font-bold">Artistic Render Studio</h1>
|
65 |
+
</div>
|
66 |
+
<div class="flex items-center space-x-4">
|
67 |
+
<span class="nsfw-badge bg-pink-600 text-xs font-bold px-3 py-1 rounded-full flex items-center">
|
68 |
+
<i class="fas fa-exclamation-circle mr-1"></i> NSFW
|
69 |
+
</span>
|
70 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg flex items-center">
|
71 |
+
<i class="fas fa-user-circle mr-2"></i> Account
|
72 |
+
</button>
|
73 |
+
</div>
|
74 |
+
</header>
|
75 |
+
|
76 |
+
<!-- Main Content -->
|
77 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
78 |
+
<!-- Generation Controls -->
|
79 |
+
<div class="lg:col-span-1 bg-gray-900 bg-opacity-50 rounded-xl p-6 border border-gray-700">
|
80 |
+
<h2 class="text-xl font-bold mb-6 flex items-center">
|
81 |
+
<i class="fas fa-sliders-h mr-2 text-pink-400"></i> Generation Settings
|
82 |
+
</h2>
|
83 |
+
|
84 |
+
<div class="space-y-6">
|
85 |
+
<!-- Model Selection -->
|
86 |
+
<div>
|
87 |
+
<label class="block text-sm font-medium mb-2">Model Style</label>
|
88 |
+
<select class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 focus:ring-2 focus:ring-pink-500 focus:border-transparent">
|
89 |
+
<option>Realistic</option>
|
90 |
+
<option>Anime</option>
|
91 |
+
<option>Cartoon</option>
|
92 |
+
<option>Fantasy</option>
|
93 |
+
<option selected>Custom Blend</option>
|
94 |
+
</select>
|
95 |
+
</div>
|
96 |
+
|
97 |
+
<!-- Prompt Input -->
|
98 |
+
<div>
|
99 |
+
<label class="block text-sm font-medium mb-2">Prompt</label>
|
100 |
+
<textarea
|
101 |
+
class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 h-32 focus:ring-2 focus:ring-pink-500 focus:border-transparent"
|
102 |
+
placeholder="Describe the image you want to generate..."></textarea>
|
103 |
+
</div>
|
104 |
+
|
105 |
+
<!-- Negative Prompt -->
|
106 |
+
<div>
|
107 |
+
<label class="block text-sm font-medium mb-2">Negative Prompt</label>
|
108 |
+
<textarea
|
109 |
+
class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 h-24 focus:ring-2 focus:ring-pink-500 focus:border-transparent"
|
110 |
+
placeholder="What to exclude from the image..."></textarea>
|
111 |
+
</div>
|
112 |
+
|
113 |
+
<!-- Advanced Options -->
|
114 |
+
<div class="border-t border-gray-700 pt-4">
|
115 |
+
<div class="flex justify-between items-center mb-4">
|
116 |
+
<h3 class="font-medium">Advanced Options</h3>
|
117 |
+
<button id="toggleAdvanced" class="text-pink-400 hover:text-pink-300">
|
118 |
+
<i class="fas fa-chevron-down"></i>
|
119 |
+
</button>
|
120 |
+
</div>
|
121 |
+
<div id="advancedOptions" class="hidden space-y-4">
|
122 |
+
<!-- Sampler -->
|
123 |
+
<div>
|
124 |
+
<label class="block text-sm font-medium mb-2">Sampler</label>
|
125 |
+
<select class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2">
|
126 |
+
<option>Euler a</option>
|
127 |
+
<option selected>DPM++ 2M Karras</option>
|
128 |
+
<option>DDIM</option>
|
129 |
+
<option>LMS</option>
|
130 |
+
</select>
|
131 |
+
</div>
|
132 |
+
|
133 |
+
<!-- Steps -->
|
134 |
+
<div>
|
135 |
+
<label class="block text-sm font-medium mb-2">Steps <span id="stepsValue" class="text-pink-400">28</span></label>
|
136 |
+
<input type="range" min="10" max="50" value="28" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer" id="stepsSlider">
|
137 |
+
</div>
|
138 |
+
|
139 |
+
<!-- CFG Scale -->
|
140 |
+
<div>
|
141 |
+
<label class="block text-sm font-medium mb-2">CFG Scale <span id="cfgValue" class="text-pink-400">7</span></label>
|
142 |
+
<input type="range" min="1" max="20" value="7" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer" id="cfgSlider">
|
143 |
+
</div>
|
144 |
+
|
145 |
+
<!-- Seed -->
|
146 |
+
<div>
|
147 |
+
<label class="block text-sm font-medium mb-2">Seed</label>
|
148 |
+
<div class="flex">
|
149 |
+
<input type="number" class="flex-grow bg-gray-800 border border-gray-700 rounded-l-lg px-4 py-2" value="-1">
|
150 |
+
<button class="bg-pink-600 hover:bg-pink-700 px-3 rounded-r-lg">
|
151 |
+
<i class="fas fa-dice"></i>
|
152 |
+
</button>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
</div>
|
156 |
+
</div>
|
157 |
+
|
158 |
+
<!-- Generate Button -->
|
159 |
+
<button class="w-full bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-4 rounded-lg transition flex items-center justify-center">
|
160 |
+
<i class="fas fa-magic mr-2"></i> Generate Image
|
161 |
+
</button>
|
162 |
+
</div>
|
163 |
+
</div>
|
164 |
+
|
165 |
+
<!-- Image Display -->
|
166 |
+
<div class="lg:col-span-2 space-y-6">
|
167 |
+
<!-- Generated Image -->
|
168 |
+
<div class="bg-gray-900 bg-opacity-50 rounded-xl overflow-hidden border border-gray-700">
|
169 |
+
<div class="image-placeholder aspect-square w-full flex items-center justify-center relative">
|
170 |
+
<div class="text-center p-8">
|
171 |
+
<i class="fas fa-image text-5xl text-gray-500 mb-4"></i>
|
172 |
+
<p class="text-gray-400">Your generated image will appear here</p>
|
173 |
+
</div>
|
174 |
+
<div class="absolute bottom-0 left-0 right-0 bg-gray-900 bg-opacity-70 p-3 flex justify-between items-center">
|
175 |
+
<span class="text-sm text-gray-300">Resolution: 512×768</span>
|
176 |
+
<div class="flex space-x-2">
|
177 |
+
<button class="bg-gray-800 hover:bg-gray-700 p-2 rounded-lg">
|
178 |
+
<i class="fas fa-download"></i>
|
179 |
+
</button>
|
180 |
+
<button class="bg-gray-800 hover:bg-gray-700 p-2 rounded-lg">
|
181 |
+
<i class="fas fa-share-alt"></i>
|
182 |
+
</button>
|
183 |
+
<button class="bg-gray-800 hover:bg-gray-700 p-2 rounded-lg">
|
184 |
+
<i class="fas fa-ellipsis-h"></i>
|
185 |
+
</button>
|
186 |
+
</div>
|
187 |
+
</div>
|
188 |
+
</div>
|
189 |
+
</div>
|
190 |
+
|
191 |
+
<!-- Recent Creations -->
|
192 |
+
<div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 border border-gray-700">
|
193 |
+
<h2 class="text-xl font-bold mb-6 flex items-center">
|
194 |
+
<i class="fas fa-history mr-2 text-pink-400"></i> Recent Creations
|
195 |
+
</h2>
|
196 |
+
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4">
|
197 |
+
<!-- Thumbnail 1 -->
|
198 |
+
<div class="aspect-square bg-gray-800 rounded-lg overflow-hidden relative group">
|
199 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-70"></div>
|
200 |
+
<div class="absolute bottom-0 left-0 p-2 w-full">
|
201 |
+
<p class="text-xs truncate">Fantasy elf portrait</p>
|
202 |
+
</div>
|
203 |
+
<button class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
|
204 |
+
<i class="fas fa-expand text-2xl bg-black bg-opacity-50 p-2 rounded-full"></i>
|
205 |
+
</button>
|
206 |
+
</div>
|
207 |
+
|
208 |
+
<!-- Thumbnail 2 -->
|
209 |
+
<div class="aspect-square bg-gray-800 rounded-lg overflow-hidden relative group">
|
210 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-70"></div>
|
211 |
+
<div class="absolute bottom-0 left-0 p-2 w-full">
|
212 |
+
<p class="text-xs truncate">Cyberpunk character</p>
|
213 |
+
</div>
|
214 |
+
<button class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
|
215 |
+
<i class="fas fa-expand text-2xl bg-black bg-opacity-50 p-2 rounded-full"></i>
|
216 |
+
</button>
|
217 |
+
</div>
|
218 |
+
|
219 |
+
<!-- Thumbnail 3 -->
|
220 |
+
<div class="aspect-square bg-gray-800 rounded-lg overflow-hidden relative group">
|
221 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-70"></div>
|
222 |
+
<div class="absolute bottom-0 left-0 p-2 w-full">
|
223 |
+
<p class="text-xs truncate">Pin-up style</p>
|
224 |
+
</div>
|
225 |
+
<button class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
|
226 |
+
<i class="fas fa-expand text-2xl bg-black bg-opacity-50 p-2 rounded-full"></i>
|
227 |
+
</button>
|
228 |
+
</div>
|
229 |
+
|
230 |
+
<!-- Thumbnail 4 -->
|
231 |
+
<div class="aspect-square bg-gray-800 rounded-lg overflow-hidden relative group">
|
232 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-70"></div>
|
233 |
+
<div class="absolute bottom-0 left-0 p-2 w-full">
|
234 |
+
<p class="text-xs truncate">BDSM concept</p>
|
235 |
+
</div>
|
236 |
+
<button class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
|
237 |
+
<i class="fas fa-expand text-2xl bg-black bg-opacity-50 p-2 rounded-full"></i>
|
238 |
+
</button>
|
239 |
+
</div>
|
240 |
+
</div>
|
241 |
+
</div>
|
242 |
+
</div>
|
243 |
+
</div>
|
244 |
+
|
245 |
+
<!-- Footer -->
|
246 |
+
<footer class="mt-12 pt-6 border-t border-gray-800 text-center text-gray-400 text-sm">
|
247 |
+
<p>Artistic Render Studio - For artistic and creative purposes only</p>
|
248 |
+
<p class="mt-2">By using this service, you confirm you are 18+ and agree to our <a href="#" class="text-pink-400 hover:underline">Terms</a> and <a href="#" class="text-pink-400 hover:underline">Privacy Policy</a></p>
|
249 |
+
</footer>
|
250 |
+
</div>
|
251 |
+
</div>
|
252 |
+
|
253 |
+
<script>
|
254 |
+
// Age verification
|
255 |
+
document.getElementById('confirmAge').addEventListener('click', function() {
|
256 |
+
document.getElementById('ageModal').classList.add('hidden');
|
257 |
+
document.getElementById('mainApp').classList.remove('hidden');
|
258 |
+
|
259 |
+
// Store verification in localStorage
|
260 |
+
localStorage.setItem('ageVerified', 'true');
|
261 |
+
});
|
262 |
+
|
263 |
+
// Check if already verified
|
264 |
+
if(localStorage.getItem('ageVerified') === 'true') {
|
265 |
+
document.getElementById('ageModal').classList.add('hidden');
|
266 |
+
document.getElementById('mainApp').classList.remove('hidden');
|
267 |
+
}
|
268 |
+
|
269 |
+
// Toggle advanced options
|
270 |
+
document.getElementById('toggleAdvanced').addEventListener('click', function() {
|
271 |
+
const options = document.getElementById('advancedOptions');
|
272 |
+
const icon = this.querySelector('i');
|
273 |
+
|
274 |
+
if(options.classList.contains('hidden')) {
|
275 |
+
options.classList.remove('hidden');
|
276 |
+
icon.classList.remove('fa-chevron-down');
|
277 |
+
icon.classList.add('fa-chevron-up');
|
278 |
+
} else {
|
279 |
+
options.classList.add('hidden');
|
280 |
+
icon.classList.remove('fa-chevron-up');
|
281 |
+
icon.classList.add('fa-chevron-down');
|
282 |
+
}
|
283 |
+
});
|
284 |
+
|
285 |
+
// Update slider values
|
286 |
+
document.getElementById('stepsSlider').addEventListener('input', function() {
|
287 |
+
document.getElementById('stepsValue').textContent = this.value;
|
288 |
+
});
|
289 |
+
|
290 |
+
document.getElementById('cfgSlider').addEventListener('input', function() {
|
291 |
+
document.getElementById('cfgValue').textContent = this.value;
|
292 |
+
});
|
293 |
+
|
294 |
+
// Simulate generation (just for demo)
|
295 |
+
document.querySelector('button:contains("Generate Image")').addEventListener('click', function() {
|
296 |
+
const placeholder = document.querySelector('.image-placeholder');
|
297 |
+
const icon = document.createElement('i');
|
298 |
+
icon.className = 'fas fa-spinner fa-spin text-4xl text-pink-400';
|
299 |
+
|
300 |
+
placeholder.innerHTML = '';
|
301 |
+
placeholder.appendChild(icon);
|
302 |
+
|
303 |
+
// Simulate generation delay
|
304 |
+
setTimeout(() => {
|
305 |
+
placeholder.innerHTML = `
|
306 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
307 |
+
<p class="text-center p-8">
|
308 |
+
<i class="fas fa-check-circle text-4xl text-green-400 mb-4"></i>
|
309 |
+
<p class="text-gray-300">Image generated successfully!</p>
|
310 |
+
</p>
|
311 |
+
</div>
|
312 |
+
`;
|
313 |
+
}, 3000);
|
314 |
+
});
|
315 |
+
</script>
|
316 |
+
<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=AI4U2/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
317 |
+
</html>
|