openfree commited on
Commit
5bd5df5
Β·
verified Β·
1 Parent(s): a727606

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +359 -98
app.py CHANGED
@@ -4,6 +4,7 @@ import os, re, json
4
  app = Flask(__name__)
5
 
6
  # ────────────────────────── 1. CONFIGURATION ──────────────────────────
 
7
  # Domains that commonly block iframes
8
  BLOCKED_DOMAINS = [
9
  "naver.com", "daum.net", "google.com",
@@ -13,106 +14,351 @@ BLOCKED_DOMAINS = [
13
 
14
  # ────────────────────────── 2. CURATED CATEGORIES ──────────────────────────
15
  CATEGORIES = {
16
- "Popular": [
17
- "https://huggingface.co/spaces/aiqtech/NSFW-Real",
18
- "https://huggingface.co/spaces/Heartsync/Hentai-Adult",
19
- "https://huggingface.co/spaces/Heartsync/PornHUB",
20
- "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-image",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-photo",
22
- "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video2",
23
- "https://huggingface.co/spaces/Heartsync/Novel-NSFW",
24
- "https://huggingface.co/spaces/Heartsync/VEO3-RealTime",
25
- "https://huggingface.co/spaces/ginigen/VEO3-Directors",
26
- "https://huggingface.co/spaces/yoinked/da_nsfw_checker", #####
27
- "https://huggingface.co/spaces/LearningnRunning/adult_image_detector", ###
28
- ],
29
- "BEST": [
30
- "https://huggingface.co/spaces/ginigen/AGI-WebToon-KOREA",
31
- "https://huggingface.co/spaces/ginigen/webtoon-studio",
32
- "https://huggingface.co/spaces/ginigen/Wan-2.2-Enhanced",
 
 
 
33
  "https://huggingface.co/spaces/Heartsync/VEO3-RealTime",
34
- "https://huggingface.co/spaces/ginigen/VEO3-Directors",
35
  "https://huggingface.co/spaces/ginigen/VEO3-Free",
36
- "https://huggingface.co/spaces/Heartsync/adult",
37
- "https://huggingface.co/spaces/ginigen/Flux-VIDEO",
38
- "https://huggingface.co/spaces/Heartsync/WAN2-1-fast-T2V-FusioniX",
39
- "https://huggingface.co/spaces/openfree/DreamO-video",
40
- "https://huggingface.co/spaces/Heartsync/NSFW-novels",
41
- "https://huggingface.co/spaces/fantaxy/fantasy-novel",
42
-
43
  ],
44
-
45
- "TEXT generate": [
46
- "https://huggingface.co/spaces/openfree/OpenAI-gpt-oss",
47
  "https://huggingface.co/spaces/Heartsync/Novel-NSFW",
48
- "https://huggingface.co/spaces/fantaxy/fantasy-novel",
49
- "https://huggingface.co/spaces/Heartsync/NSFW-novels",
50
- ],
51
-
52
- "TEXT TO IMAGE": [
 
 
 
 
 
 
 
 
 
53
  "https://huggingface.co/spaces/Heartsync/PornHUB",
54
  "https://huggingface.co/spaces/Heartsync/Hentai-Adult",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored",
 
56
  "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-photo",
57
- "https://huggingface.co/spaces/Heartsync/adult",
58
- "https://huggingface.co/spaces/Heartsync/NSFW-novels",
59
- "https://huggingface.co/spaces/IbarakiDouji/WAI-NSFW-illustrious-SDXL", ###
60
- "https://huggingface.co/spaces/armen425221356/UnfilteredAI-NSFW-gen-v2_self_parms", ####
61
 
 
62
  ],
63
- "IMAGE TO VIDEO": [
64
- "https://huggingface.co/spaces/Heartsync/adult",
65
- "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video",
66
- "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video2",
67
- "https://huggingface.co/spaces/Heartsync/WAN2-1-fast-T2V-FusioniX",
68
- "https://huggingface.co/spaces/openfree/DreamO-video",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  "https://huggingface.co/spaces/Heartsync/wan2-1-fast-security",
70
- "https://huggingface.co/spaces/ginigen/Flux-VIDEO",
71
- "https://huggingface.co/spaces/Heartsync/WAN-VIDEO-AUDIO",
72
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
- "IMAGE IN/OUT-PAINTING": [
75
- "https://huggingface.co/spaces/ginigen/FLUX-Ghibli-LoRA2",
76
- "https://huggingface.co/spaces/davecarrau/nsfw-face-swap", ###
77
- "https://huggingface.co/spaces/VIDraft/ReSize-Image-Outpainting",
78
- "https://huggingface.co/spaces/aiqcamp/REMOVAL-TEXT-IMAGE",
79
- "https://huggingface.co/spaces/ginigen/MagicFace-V3",
80
- "https://huggingface.co/spaces/openfree/ColorRevive",
81
- "https://huggingface.co/spaces/ginigen/VisualCloze",
82
- "https://huggingface.co/spaces/fantos/textcutobject",
83
-
84
  ],
85
-
86
- "Extension": [
87
- "https://huggingface.co/spaces/VIDraft/ACE-Singer",
 
 
 
 
 
 
 
88
  "https://huggingface.co/spaces/VIDraft/Voice-Clone-Podcast",
89
- "https://huggingface.co/spaces/ginigen/VoiceClone-TTS",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  "https://huggingface.co/spaces/openfree/Multilingual-TTS",
 
 
91
  "https://huggingface.co/spaces/fantaxy/Sound-AI-SFX",
92
  "https://huggingface.co/spaces/ginigen/SFX-Sound-magic",
 
 
93
  "https://huggingface.co/spaces/fantaxy/Remove-Video-Background",
94
- "https://huggingface.co/spaces/VIDraft/stable-diffusion-3.5-large-turboX",
95
-
96
- "https://huggingface.co/spaces/aiqtech/imaginpaint",
97
- "https://huggingface.co/spaces/openfree/ultpixgen",
98
- # "https://huggingface.co/spaces/ginipick/Change-Hair",
99
- # "https://huggingface.co/spaces/ginigen/Every-Text",
100
-
101
  ],
102
-
103
- "Utility": [
104
- "https://huggingface.co/spaces/openfree/Best-AI",
105
- "https://huggingface.co/spaces/openfree/Chart-GPT",
106
- "https://huggingface.co/spaces/ginipick/AI-BOOK",
107
- "https://huggingface.co/spaces/openfree/Live-Podcast",
108
- "https://huggingface.co/spaces/openfree/AI-Podcast",
109
- "https://huggingface.co/spaces/ginipick/FLUXllama",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  "https://huggingface.co/spaces/VIDraft/Polaroid-Style",
111
- "https://huggingface.co/spaces/ginigen/text3d-r1",
112
- "https://huggingface.co/spaces/openfree/Naming",
113
- "https://huggingface.co/spaces/ginigen/3D-LLAMA-V1",
114
- "https://huggingface.co/spaces/fantaxy/flx-pulid",
115
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  }
117
 
118
  # ────────────────────────── 3. URL HELPERS ──────────────────────────
@@ -161,7 +407,7 @@ def api_category():
161
 
162
  # Add pagination for categories
163
  page = int(request.args.get('page', 1))
164
- per_page = int(request.args.get('per_page', 4)) # 4 per page for 2x2 grid
165
 
166
  total_pages = max(1, (len(urls) + per_page - 1) // per_page)
167
  start = (page - 1) * per_page
@@ -196,13 +442,19 @@ def home():
196
  <head>
197
  <meta charset="utf-8">
198
  <meta name="viewport" content="width=device-width, initial-scale=1">
199
- <title>Free NSFW Hub</title>
200
  <style>
201
  @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;600&display=swap');
202
  body{margin:0;font-family:Nunito,sans-serif;background:#f6f8fb;}
203
  .tabs{display:flex;flex-wrap:wrap;gap:8px;padding:16px;}
204
  .tab{padding:6px 14px;border:none;border-radius:18px;background:#e2e8f0;font-weight:600;cursor:pointer;}
205
  .tab.active{background:#a78bfa;color:#1a202c;}
 
 
 
 
 
 
206
  /* Updated grid to show 2x2 layout */
207
  .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;padding:0 16px 60px;max-width:1200px;margin:0 auto;}
208
  @media(max-width:800px){.grid{grid-template-columns:1fr;}}
@@ -223,15 +475,12 @@ body{margin:0;font-family:Nunito,sans-serif;background:#f6f8fb;}
223
  </head>
224
  <body>
225
  <header style="text-align: center; padding: 20px; background: linear-gradient(135deg, #f6f8fb, #e2e8f0); border-bottom: 1px solid #ddd;">
226
- <h1 style="margin-bottom: 10px;">πŸ”₯Free NSFW Hub</h1>
227
- <p style="margin-bottom: 15px; color: #666; font-size: 14px;">
228
- A curated collection of the most popular and polished NSFW Detection projects on Hugging Face Spaces,<br>
229
- organized for easy visual exploration and discovery.
230
- </p>
231
  <p>
232
- <a href="https://huggingface.co/spaces/Heartsync/FREE-NSFW-HUB" target="_blank"><img src="https://img.shields.io/static/v1?label=huggingface&message=FREE%20NSFW%20HUB&color=%230000ff&labelColor=%23800080&logo=huggingface&logoColor=%23ffa500&style=for-the-badge" alt="badge"></a>
233
- </p>
234
-
 
235
  </header>
236
  <div class="tabs" id="tabs"></div>
237
  <div id="content"></div>
@@ -262,7 +511,7 @@ function updateTabs() {
262
  b.classList.toggle('active', b.dataset.c === active);
263
  });
264
  }
265
- // Tab handler for categories
266
  function loadCategory(cat, page) {
267
  if(cat === active && currentPage === page) return;
268
  active = cat;
@@ -306,17 +555,29 @@ function loadCategory(cat, page) {
306
  content.innerHTML = html;
307
  });
308
  }
309
- // Create category tabs
310
- cats.forEach(c => {
 
311
  const b = document.createElement('button');
312
- b.className = 'tab';
313
- b.textContent = c;
314
- b.dataset.c = c;
315
- b.onclick = function() { loadCategory(c, 1); };
316
  tabs.appendChild(b);
317
  });
318
- // Start with the first category (Productivity)
319
- loadCategory(cats[0], 1);
 
 
 
 
 
 
 
 
 
 
 
320
  </script>
321
  </body>
322
  </html>''')
 
4
  app = Flask(__name__)
5
 
6
  # ────────────────────────── 1. CONFIGURATION ──────────────────────────
7
+
8
  # Domains that commonly block iframes
9
  BLOCKED_DOMAINS = [
10
  "naver.com", "daum.net", "google.com",
 
14
 
15
  # ────────────────────────── 2. CURATED CATEGORIES ──────────────────────────
16
  CATEGORIES = {
17
+ "Popular": [
18
+ "https://huggingface.co/spaces/VIDraft/NH-Prediction",
19
+ "https://huggingface.co/spaces/fantos/Heatmap-Leaderboard-KOREA",
20
+ "https://huggingface.co/spaces/ginigen/Today",
21
+ "https://huggingface.co/spaces/ginigen/Nano-Banana-PRO",
22
+ "https://huggingface.co/spaces/ginigen/SAJU",
23
+ "https://huggingface.co/spaces/ginipick/SAJU-Couple",
24
+ "https://huggingface.co/spaces/openfree/News-AI",
25
+ "https://huggingface.co/spaces/openfree/Creative-Arena-Leaderboard",
26
+ "https://huggingface.co/spaces/openfree/Face-blurring",
27
+ "https://huggingface.co/spaces/ginigen/Fashion-Fit360",
28
+ "https://huggingface.co/spaces/VIDraft/DNA-Diffusion",
29
+ "https://huggingface.co/spaces/Heartsync/Nano-Banana",
30
+ "https://huggingface.co/spaces/openfree/AGI-Screenplay-Pro",
31
+ "https://huggingface.co/spaces/ginipick/FLUXllama",
32
+ "https://huggingface.co/spaces/VIDraft/gpt-oss-RAG",
33
+ "https://openfree-AI-Calcurator.static.hf.space",
34
+ "https://huggingface.co/spaces/openfree/AGI-WebNovel-Gallery",
35
+ "https://huggingface.co/spaces/Heartsync/Wan-2.2-ADULT",
36
+ "https://huggingface.co/spaces/ginigen/Wan-2.2-Enhanced",
37
+ "https://huggingface.co/spaces/openfree/AGI-Screenplay",
38
+ "https://huggingface.co/spaces/openfree/AGI-WebNovel",
39
+ "https://huggingface.co/spaces/openfree/AGI-NOVEL",
40
+ "https://huggingface.co/spaces/fantaxy/AGI-LEADERBOARD",
41
+ "https://cutechicken-3d-airforce-simulator.static.hf.space",
42
+ "https://huggingface.co/spaces/Heartsync/FREE-NSFW-HUB",
43
+ "https://huggingface.co/spaces/ginipick/Private-AI",
44
+ "https://huggingface.co/spaces/fantaxy/ofai-flx-logo",
45
+ "https://huggingface.co/spaces/aiqtech/FLUX-Ghibli-Studio-LoRA",
46
+ "https://huggingface.co/spaces/seawolf2357/REALVISXL-V5",
47
+ "https://huggingface.co/spaces/fantos/flx8lora",
48
+ "https://huggingface.co/spaces/ginipick/Realtime-FLUX",
49
+ "https://huggingface.co/spaces/fantaxy/flx-pulid",
50
+ "https://huggingface.co/spaces/ginipick/FLUX-Prompt-Generator",
51
+ "https://huggingface.co/spaces/aiqtech/kofaceid",
52
+ "https://huggingface.co/spaces/aiqtech/flxgif",
53
+ "https://huggingface.co/spaces/fantos/flxfashmodel",
54
+ "https://huggingface.co/spaces/fantos/flxcontrol",
55
+ "https://huggingface.co/spaces/fantos/textcutobject",
56
+ "https://huggingface.co/spaces/seawolf2357/flxloraexp",
57
+ "https://huggingface.co/spaces/fantaxy/flxloraexp",
58
+ "https://huggingface.co/spaces/aiqtech/imaginpaint",
59
+ "https://huggingface.co/spaces/ginipick/FLUXllama",
60
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored",
61
+ "https://huggingface.co/spaces/fantaxy/flx-upscale",
62
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video",
63
+ "https://huggingface.co/spaces/fantos/VoiceClone",
64
+ "https://huggingface.co/spaces/fantaxy/Rolls-Royce",
65
+ "https://huggingface.co/spaces/aiqtech/FLUX-military",
66
+ "https://huggingface.co/spaces/fantaxy/FLUX-Animations",
67
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video2",
68
  "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-photo",
69
+ "https://huggingface.co/spaces/ginipick/Time-Stream",
70
+ "https://huggingface.co/spaces/seawolf2357/sd-prompt-gen",
71
+ "https://huggingface.co/spaces/openfree/MagicFace-V3",
72
+ "https://huggingface.co/spaces/Heartsync/adult",
73
+ "https://huggingface.co/spaces/Heartsync/wan2-1-fast-security",
74
+ "https://huggingface.co/spaces/seawolf2357/img2vid",
75
+ "https://huggingface.co/spaces/openfree/image-to-vector",
76
+ "https://huggingface.co/spaces/openfree/DreamO-video",
77
+ "https://huggingface.co/spaces/VIDraft/FramePack_rotate_landscape",
78
+ "https://huggingface.co/spaces/fantaxy/Sound-AI-SFX",
79
+ "https://huggingface.co/spaces/ginigen/VoiceClone-TTS",
80
+
81
+ "https://huggingface.co/spaces/Heartsync/NSFW-image",
82
+ "https://huggingface.co/spaces/Heartsync/NSFW-detection",
83
  "https://huggingface.co/spaces/Heartsync/VEO3-RealTime",
 
84
  "https://huggingface.co/spaces/ginigen/VEO3-Free",
85
+ "https://huggingface.co/spaces/ginigen/FLUX-Text-Tree-Image",
86
+ "https://huggingface.co/spaces/ginigen/text3d-r1",
87
+ "https://huggingface.co/spaces/VIDraft/stable-diffusion-3.5-large-turboX",
88
+
 
 
 
89
  ],
90
+ "BEST": [
 
 
91
  "https://huggingface.co/spaces/Heartsync/Novel-NSFW",
92
+ "https://huggingface.co/spaces/ginipick/AGI-Personal",
93
+ "https://huggingface.co/spaces/ginigen/AI",
94
+ "https://openfree-WAR-Game-Simul.static.hf.space",
95
+ "https://ginigen-Hair-Pick.static.hf.space",
96
+ "https://huggingface.co/spaces/ginigen/AGI-WebToon-KOREA",
97
+ "https://huggingface.co/spaces/ginigen/webtoon-studio",
98
+ "https://vidraft-ai.static.hf.space",
99
+ "https://huggingface.co/spaces/MaziyarPanahi/FACTS-Leaderboard",
100
+ "https://huggingface.co/spaces/ginigen/Flux-Kontext-Style",
101
+ "https://huggingface.co/spaces/openfree/Cycle-Navigator",
102
+ "https://huggingface.co/spaces/ginigen/Flux-Kontext-FaceLORA",
103
+ "https://huggingface.co/spaces/ginigen/Seedance-Free",
104
+ "https://huggingface.co/spaces/VIDraft/SOMA-AGI",
105
+ "https://huggingface.co/spaces/aiqtech/Heatmap-Leaderboard",
106
  "https://huggingface.co/spaces/Heartsync/PornHUB",
107
  "https://huggingface.co/spaces/Heartsync/Hentai-Adult",
108
+ "https://huggingface.co/spaces/VIDraft/DNA-CASINO",
109
+ "https://huggingface.co/spaces/aiqtech/SOMA-Oriental",
110
+ "https://huggingface.co/spaces/fantaxy/YTB-TEST",
111
+ "https://huggingface.co/spaces/aiqtech/Contributors-Leaderboard",
112
+ "https://huggingface.co/spaces/ginigen/text3d-r1",
113
+ "https://huggingface.co/spaces/VIDraft/stable-diffusion-3.5-large-turboX",
114
+ "https://huggingface.co/spaces/openfree/Korean-Leaderboard",
115
+ "https://huggingface.co/spaces/fantos/flxcontrol",
116
+ "https://huggingface.co/spaces/aiqtech/FLUX-Ghibli-Studio-LoRA",
117
+ "https://huggingface.co/spaces/openfree/AI-Podcast",
118
+ "https://huggingface.co/spaces/ginigen/Workflow-Canvas",
119
+ "https://huggingface.co/spaces/ginigen/3D-LLAMA",
120
+ "https://huggingface.co/spaces/ginigen/VoiceClone-TTS",
121
+ "https://huggingface.co/spaces/VIDraft/ACE-Singer",
122
+ "https://huggingface.co/spaces/ginipick/AI-BOOK",
123
+ "https://huggingface.co/spaces/immunobiotech/drug-discovery",
124
+ "https://huggingface.co/spaces/VIDraft/Robo-Beam",
125
+ "https://huggingface.co/spaces/fantaxy/fantasy-novel",
126
+ "https://huggingface.co/spaces/immunobiotech/Gemini-MICHELIN",
127
+ "https://huggingface.co/spaces/openfree/Chart-GPT",
128
+ "https://huggingface.co/spaces/ginipick/NH-Korea",
129
+ "https://huggingface.co/spaces/VIDraft/Voice-Clone-Podcast",
130
+ "https://huggingface.co/spaces/ginipick/Private-AI",
131
+ "https://huggingface.co/spaces/ginigen/Flux-VIDEO",
132
+ "https://huggingface.co/spaces/openfree/open-GAMMA",
133
+ "https://huggingface.co/spaces/ginipick/PharmAI-Korea",
134
+ "https://huggingface.co/spaces/ginipick/Pharmacy",
135
+ "https://huggingface.co/spaces/ginipick/PDF-EXAM",
136
+ "https://huggingface.co/spaces/ginipick/IDEA-DESIGN",
137
+ "https://huggingface.co/spaces/openfree/DreamO-video",
138
+ "https://huggingface.co/spaces/ginipick/10m-marketing",
139
+ "https://huggingface.co/spaces/VIDraft/voice-trans",
140
+ "https://huggingface.co/spaces/VIDraft/NH-Prediction",
141
+ "https://huggingface.co/spaces/fantos/flx8lora",
142
+ "https://huggingface.co/spaces/ginigen/MagicFace-V3",
143
+ "https://huggingface.co/spaces/openfree/Live-Podcast",
144
+ "https://huggingface.co/spaces/seawolf2357/ocrlatex",
145
+ "https://huggingface.co/spaces/Heartsync/VEO3-RealTime",
146
+ "https://huggingface.co/spaces/ginigen/VEO3-Free",
147
+ "https://huggingface.co/spaces/openfree/MagicFace-V3",
148
+ "https://huggingface.co/spaces/aiqtech/FLUX-military",
149
+ "https://huggingface.co/spaces/fantaxy/flxloraexp",
150
+ "https://huggingface.co/spaces/Heartsync/WAN2-1-fast-T2V-FusioniX",
151
+ "https://huggingface.co/spaces/ginigen/FLUXllama-Multilingual",
152
+ "https://huggingface.co/spaces/Heartsync/wan2-1-fast-security",
153
+ "https://huggingface.co/spaces/fantaxy/Rolls-Royce",
154
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-REAL",
155
+ "https://huggingface.co/spaces/ginipick/Realtime-FLUX",
156
+ "https://huggingface.co/spaces/aiqtech/imaginpaint",
157
+ "https://huggingface.co/spaces/aiqtech/flxgif",
158
+ "https://huggingface.co/spaces/fantos/flxfashmodel",
159
+ "https://huggingface.co/spaces/aiqtech/kofaceid",
160
+ "https://huggingface.co/spaces/ginipick/FLUX-Prompt-Generator",
161
+ "https://huggingface.co/spaces/seawolf2357/REALVISXL-V5",
162
+ "https://huggingface.co/spaces/fantaxy/FLUX-Animations",
163
+ "https://huggingface.co/spaces/fantaxy/flx-pulid",
164
+ "https://huggingface.co/spaces/fantaxy/ofai-flx-logo",
165
+ "https://huggingface.co/spaces/openfree/image-to-vector",
166
+ "https://huggingface.co/spaces/Heartsync/FREE-NSFW-HUB",
167
+ "https://huggingface.co/spaces/seawolf2357/sd-prompt-gen",
168
+ "https://huggingface.co/spaces/VIDraft/FramePack_rotate_landscape",
169
+ "https://huggingface.co/spaces/ginipick/FLUXllama",
170
+ "https://huggingface.co/spaces/Heartsync/NSFW-image",
171
+ "https://huggingface.co/spaces/seawolf2357/img2vid",
172
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video2",
173
+ "https://huggingface.co/spaces/Heartsync/NSFW-detection",
174
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video",
175
+ "https://huggingface.co/spaces/Heartsync/adult",
176
  "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored",
177
+ "https://huggingface.co/spaces/fantos/VoiceClone",
178
  "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-photo",
179
+ "https://huggingface.co/spaces/fantaxy/flx-upscale",
180
+ "https://huggingface.co/spaces/seawolf2357/flxloraexp",
181
+ "https://huggingface.co/spaces/ginipick/Time-Stream",
182
+ "https://huggingface.co/spaces/fantos/textcutobject",
183
 
184
+
185
  ],
186
+ "NEW": [
187
+ "https://huggingface.co/spaces/ginigen/Family",
188
+ "https://huggingface.co/spaces/ginigen/AGI-Screenplay",
189
+ "https://huggingface.co/spaces/openfree/OpenAI-gpt-oss",
190
+ "https://huggingface.co/spaces/ginigen/Flux-Kontext-Style",
191
+ "https://cutechicken-3d-airforce-simulator.static.hf.space",
192
+ "https://huggingface.co/spaces/ginipick/Private-AI",
193
+ "https://huggingface.co/spaces/VIDraft/ACE-Singer",
194
+ "https://huggingface.co/spaces/ginipick/AI-BOOK",
195
+ "https://huggingface.co/spaces/openfree/Best-AI",
196
+ "https://huggingface.co/spaces/aiqtech/Heatmap-Leaderboard",
197
+ "https://huggingface.co/spaces/VIDraft/DNA-CASINO",
198
+ "https://huggingface.co/spaces/openfree/AGI-Screenplay",
199
+ "https://huggingface.co/spaces/openfree/AGI-WebNovel",
200
+ "https://huggingface.co/spaces/openfree/AGI-NOVEL",
201
+ "https://huggingface.co/spaces/fantaxy/AGI-LEADERBOARD",
202
+ "https://huggingface.co/spaces/ginigen/Seedance-Free",
203
+ "https://huggingface.co/spaces/aiqtech/SOMA-Oriental",
204
+ "https://huggingface.co/spaces/ginigen/Flux-Kontext-FaceLORA",
205
+ "https://huggingface.co/spaces/VIDraft/SOMA-AGI",
206
+ "https://huggingface.co/spaces/Heartsync/VEO3-RealTime",
207
+ "https://huggingface.co/spaces/openfree/Open-GAMMA",
208
+ "https://huggingface.co/spaces/ginigen/VEO3-Free",
209
+ "https://huggingface.co/spaces/Heartsync/WAN2-1-fast-T2V-FusioniX",
210
+ "https://huggingface.co/spaces/VIDraft/voice-trans",
211
+ "https://huggingface.co/spaces/VIDraft/Robo-Beam",
212
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-REAL",
213
+ "https://huggingface.co/spaces/fantaxy/fantasy-novel",
214
+ "https://huggingface.co/spaces/openfree/Chart-GPT",
215
+ "https://huggingface.co/spaces/Heartsync/Novel-NSFW",
216
+ "https://huggingface.co/spaces/ginigen/FLUX-Ghibli-LoRA2",
217
+ "https://huggingface.co/spaces/Heartsync/WAN-VIDEO-AUDIO",
218
  "https://huggingface.co/spaces/Heartsync/wan2-1-fast-security",
219
+ "https://huggingface.co/spaces/ginigen/Flux-VIDEO",
220
+ "https://huggingface.co/spaces/aiqcamp/REMOVAL-TEXT-IMAGE",
221
+ "https://huggingface.co/spaces/VIDraft/Mistral-RAG-BitSix",
222
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video2",
223
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video",
224
+ "https://huggingface.co/spaces/fantaxy/YTB-TEST",
225
+ "https://huggingface.co/spaces/Heartsync/FREE-NSFW-HUB",
226
+ "https://huggingface.co/spaces/Heartsync/adult",
227
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-photo",
228
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored",
229
+ "https://huggingface.co/spaces/openfree/Live-Podcast",
230
+ "https://huggingface.co/spaces/openfree/AI-Podcast",
231
+ "https://huggingface.co/spaces/ginipick/NH-Korea",
232
+ "https://huggingface.co/spaces/VIDraft/NH-Prediction",
233
+ "https://huggingface.co/spaces/VIDraft/Voice-Clone-Podcast",
234
+ "https://huggingface.co/spaces/ginipick/PDF-EXAM",
235
+ "https://huggingface.co/spaces/openfree/Game-Gallery",
236
+ "https://huggingface.co/spaces/openfree/Vibe-Game",
237
+ "https://huggingface.co/spaces/ginipick/IDEA-DESIGN",
238
+ "https://huggingface.co/spaces/openfree/Cycle-Navigator",
239
+ "https://huggingface.co/spaces/openfree/DreamO-video",
240
+ "https://huggingface.co/spaces/Heartsync/NSFW-detection",
241
+
242
 
 
 
 
 
 
 
 
 
 
 
243
  ],
244
+ "Productivity": [
245
+ "https://huggingface.co/spaces/ginigen/Markets",
246
+ "https://huggingface.co/spaces/aiqtech/Heatmap-Leaderboard",
247
+ "https://huggingface.co/spaces/VIDraft/DNA-CASINO",
248
+ "https://huggingface.co/spaces/openfree/Open-GAMMA",
249
+ "https://huggingface.co/spaces/VIDraft/Robo-Beam",
250
+ "https://huggingface.co/spaces/VIDraft/voice-trans",
251
+ "https://huggingface.co/spaces/Heartsync/FREE-NSFW-HUB",
252
+ "https://huggingface.co/spaces/openfree/Chart-GPT",
253
+ "https://huggingface.co/spaces/ginipick/AI-BOOK",
254
  "https://huggingface.co/spaces/VIDraft/Voice-Clone-Podcast",
255
+ "https://huggingface.co/spaces/ginipick/PDF-EXAM",
256
+ "https://huggingface.co/spaces/ginigen/perflexity-clone",
257
+ "https://huggingface.co/spaces/ginipick/IDEA-DESIGN",
258
+ "https://huggingface.co/spaces/ginipick/10m-marketing",
259
+ "https://huggingface.co/spaces/openfree/Live-Podcast",
260
+ "https://huggingface.co/spaces/openfree/AI-Podcast",
261
+ "https://huggingface.co/spaces/ginipick/QR-Canvas-plus",
262
+ "https://huggingface.co/spaces/openfree/Badge",
263
+ "https://huggingface.co/spaces/VIDraft/mouse-webgen",
264
+ "https://huggingface.co/spaces/openfree/Vibe-Game",
265
+ "https://huggingface.co/spaces/VIDraft/NH-Prediction",
266
+ "https://huggingface.co/spaces/ginipick/NH-Korea",
267
+ "https://huggingface.co/spaces/openfree/Naming",
268
+ "https://huggingface.co/spaces/ginipick/Change-Hair",
269
+ ],
270
+ "Multimodal": [
271
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-photo",
272
+ "https://huggingface.co/spaces/fantaxy/YTB-TEST",
273
+ "https://huggingface.co/spaces/ginigen/Seedance-Free",
274
+ "https://huggingface.co/spaces/Heartsync/VEO3-RealTime",
275
+ "https://huggingface.co/spaces/ginigen/VEO3-Free",
276
+ "https://huggingface.co/spaces/ginigen/VEO3-Directors",
277
+ "https://huggingface.co/spaces/Heartsync/WAN2-1-fast-T2V-FusioniX",
278
+ "https://huggingface.co/spaces/Heartsync/adult",
279
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored",
280
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video2",
281
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-video",
282
+ "https://huggingface.co/spaces/Heartsync/WAN-VIDEO-AUDIO",
283
+ "https://huggingface.co/spaces/Heartsync/wan2-1-fast-security",
284
+ "https://huggingface.co/spaces/ginigen/Flux-VIDEO",
285
+ "https://huggingface.co/spaces/ginigen/3D-LLAMA-V1",
286
+ "https://huggingface.co/spaces/ginigen/Flux-VIDEO",
287
  "https://huggingface.co/spaces/openfree/Multilingual-TTS",
288
+ "https://huggingface.co/spaces/VIDraft/ACE-Singer",
289
+ "https://huggingface.co/spaces/openfree/DreamO-video",
290
  "https://huggingface.co/spaces/fantaxy/Sound-AI-SFX",
291
  "https://huggingface.co/spaces/ginigen/SFX-Sound-magic",
292
+ "https://huggingface.co/spaces/ginigen/VoiceClone-TTS",
293
+ "https://huggingface.co/spaces/aiqcamp/ENGLISH-Speaking-Scoring",
294
  "https://huggingface.co/spaces/fantaxy/Remove-Video-Background",
 
 
 
 
 
 
 
295
  ],
296
+ "Professional": [
297
+ "https://huggingface.co/spaces/Heartsync/NSFW-novels",
298
+ "https://huggingface.co/spaces/aiqtech/SOMA-Oriental",
299
+ "https://huggingface.co/spaces/VIDraft/SOMA-AGI",
300
+ "https://huggingface.co/spaces/Heartsync/Novel-NSFW",
301
+ "https://huggingface.co/spaces/fantaxy/fantasy-novel",
302
+ "https://huggingface.co/spaces/VIDraft/money-radar",
303
+ "https://huggingface.co/spaces/immunobiotech/drug-discovery",
304
+ "https://huggingface.co/spaces/immunobiotech/Gemini-MICHELIN",
305
+ "https://huggingface.co/spaces/openfree/Cycle-Navigator",
306
+ "https://huggingface.co/spaces/VIDraft/Fashion-Fit",
307
+ "https://huggingface.co/spaces/openfree/Stock-Trading-Analysis",
308
+ "https://huggingface.co/spaces/ginipick/AgentX-Papers",
309
+ "https://huggingface.co/spaces/Heartsync/Papers-Leaderboard",
310
+ "https://huggingface.co/spaces/VIDraft/PapersImpact",
311
+ "https://huggingface.co/spaces/ginigen/multimodal-chat-mbti-korea",
312
+ ],
313
+ "Image": [
314
+ "https://huggingface.co/spaces/openfree/Face-blurring",
315
+ "https://huggingface.co/spaces/ginigen/Flux-Kontext-FaceLORA",
316
+ "https://huggingface.co/spaces/Heartsync/NSFW-Uncensored-REAL",
317
+ "https://huggingface.co/spaces/ginigen/FLUX-Ghibli-LoRA2",
318
+ "https://huggingface.co/spaces/aiqcamp/REMOVAL-TEXT-IMAGE",
319
+ "https://huggingface.co/spaces/VIDraft/BAGEL-Websearch",
320
+ "https://huggingface.co/spaces/ginigen/Every-Text",
321
+ "https://huggingface.co/spaces/ginigen/text3d-r1",
322
+ "https://huggingface.co/spaces/ginipick/FLUXllama",
323
+ "https://huggingface.co/spaces/ginigen/Workflow-Canvas",
324
+ "https://huggingface.co/spaces/ginigen/canvas-studio",
325
+ "https://huggingface.co/spaces/VIDraft/ReSize-Image-Outpainting",
326
+ "https://huggingface.co/spaces/Heartsync/FLUX-Vision",
327
+ "https://huggingface.co/spaces/fantos/textcutobject",
328
+ "https://huggingface.co/spaces/aiqtech/imaginpaint",
329
+ "https://huggingface.co/spaces/openfree/ColorRevive",
330
+ "https://huggingface.co/spaces/openfree/ultpixgen",
331
  "https://huggingface.co/spaces/VIDraft/Polaroid-Style",
332
+ "https://huggingface.co/spaces/ginigen/VisualCloze",
333
+ "https://huggingface.co/spaces/fantaxy/ofai-flx-logo",
334
+ "https://huggingface.co/spaces/ginigen/interior-design",
335
+ "https://huggingface.co/spaces/ginigen/MagicFace-V3",
336
+ "https://huggingface.co/spaces/fantaxy/flx-pulid",
337
+ "https://huggingface.co/spaces/seawolf2357/Ghibli-Multilingual-Text-rendering",
338
+ "https://huggingface.co/spaces/VIDraft/Open-Meme-Studio",
339
+ "https://huggingface.co/spaces/VIDraft/stable-diffusion-3.5-large-turboX",
340
+ "https://huggingface.co/spaces/aiqtech/flxgif",
341
+ "https://huggingface.co/spaces/openfree/VectorFlow",
342
+ "https://huggingface.co/spaces/ginigen/3D-LLAMA",
343
+ "https://huggingface.co/spaces/ginigen/Multi-LoRAgen",
344
+ ],
345
+ "LLM / VLM": [
346
+ "https://huggingface.co/spaces/fantaxy/fantasy-novel",
347
+ "https://huggingface.co/spaces/ginigen/deepseek-r1-0528-API",
348
+ "https://huggingface.co/spaces/aiqcamp/Mistral-Devstral-API",
349
+ "https://huggingface.co/spaces/aiqcamp/deepseek-r1-0528",
350
+ "https://huggingface.co/spaces/aiqcamp/deepseek-r1-0528-qwen3-8b",
351
+ "https://huggingface.co/spaces/aiqcamp/deepseek-r1-0528",
352
+ "https://huggingface.co/spaces/aiqcamp/Mistral-Devstral-API",
353
+ "https://huggingface.co/spaces/VIDraft/Mistral-RAG-BitSix",
354
+ "https://huggingface.co/spaces/VIDraft/Gemma-3-R1984-4B",
355
+ "https://huggingface.co/spaces/VIDraft/Gemma-3-R1984-12B",
356
+ "https://huggingface.co/spaces/ginigen/Mistral-Perflexity",
357
+ "https://huggingface.co/spaces/aiqcamp/gemini-2.5-flash-preview",
358
+ "https://huggingface.co/spaces/openfree/qwen3-30b-a3b-research",
359
+ "https://huggingface.co/spaces/openfree/qwen3-235b-a22b-research",
360
+ "https://huggingface.co/spaces/openfree/Llama-4-Maverick-17B-Research",
361
+ ],
362
  }
363
 
364
  # ────────────────────────── 3. URL HELPERS ──────────────────────────
 
407
 
408
  # Add pagination for categories
409
  page = int(request.args.get('page', 1))
410
+ per_page = int(request.args.get('per_page', 4))
411
 
412
  total_pages = max(1, (len(urls) + per_page - 1) // per_page)
413
  start = (page - 1) * per_page
 
442
  <head>
443
  <meta charset="utf-8">
444
  <meta name="viewport" content="width=device-width, initial-scale=1">
445
+ <title>Web Gallery</title>
446
  <style>
447
  @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;600&display=swap');
448
  body{margin:0;font-family:Nunito,sans-serif;background:#f6f8fb;}
449
  .tabs{display:flex;flex-wrap:wrap;gap:8px;padding:16px;}
450
  .tab{padding:6px 14px;border:none;border-radius:18px;background:#e2e8f0;font-weight:600;cursor:pointer;}
451
  .tab.active{background:#a78bfa;color:#1a202c;}
452
+ .tab.popular{background:#ff6b6b;color:white;}
453
+ .tab.popular.active{background:#fa5252;color:white;}
454
+ .tab.best{background:#4ecdc4;color:white;}
455
+ .tab.best.active{background:#38d9a9;color:white;}
456
+ .tab.new{background:#ffe066;color:#1a202c;}
457
+ .tab.new.active{background:#ffd43b;color:#1a202c;}
458
  /* Updated grid to show 2x2 layout */
459
  .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;padding:0 16px 60px;max-width:1200px;margin:0 auto;}
460
  @media(max-width:800px){.grid{grid-template-columns:1fr;}}
 
475
  </head>
476
  <body>
477
  <header style="text-align: center; padding: 20px; background: linear-gradient(135deg, #f6f8fb, #e2e8f0); border-bottom: 1px solid #ddd;">
478
+ <h1 style="margin-bottom: 10px;">🌟OPEN & Free: BEST AI Playground</h1>
 
 
 
 
479
  <p>
480
+ <a href="https://huggingface.co/OpenFreeAI" target="_blank"><img src="https://img.shields.io/static/v1?label=Community&message=OpenFree_AI&color=%23800080&labelColor=%23000080&logo=HUGGINGFACE&logoColor=%23ffa500&style=for-the-badge" alt="badge"></a>
481
+ <a href="https://discord.gg/openfreeai" target="_blank"><img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%230000ff&labelColor=%23800080&logo=discord&logoColor=white&style=for-the-badge" alt="badge"></a>
482
+ <a href="https://huggingface.co/spaces/openfree/Best-AI" target="_blank"><img src="https://img.shields.io/static/v1?label=OpenFree&message=BEST%20AI%20Services&color=%230000ff&labelColor=%23000080&logo=huggingface&logoColor=%23ffa500&style=for-the-badge" alt="badge"></a>
483
+ </p>
484
  </header>
485
  <div class="tabs" id="tabs"></div>
486
  <div id="content"></div>
 
511
  b.classList.toggle('active', b.dataset.c === active);
512
  });
513
  }
514
+ // Tab handlers
515
  function loadCategory(cat, page) {
516
  if(cat === active && currentPage === page) return;
517
  active = cat;
 
555
  content.innerHTML = html;
556
  });
557
  }
558
+ // Create tabs
559
+ // Special tabs first (Popular, BEST, NEW)
560
+ ['Popular', 'BEST', 'NEW'].forEach(specialCat => {
561
  const b = document.createElement('button');
562
+ b.className = 'tab ' + specialCat.toLowerCase();
563
+ b.textContent = specialCat;
564
+ b.dataset.c = specialCat;
565
+ b.onclick = function() { loadCategory(specialCat, 1); };
566
  tabs.appendChild(b);
567
  });
568
+ // Regular category tabs
569
+ cats.forEach(c => {
570
+ if (!['Popular', 'BEST', 'NEW'].includes(c)) {
571
+ const b = document.createElement('button');
572
+ b.className = 'tab';
573
+ b.textContent = c;
574
+ b.dataset.c = c;
575
+ b.onclick = function() { loadCategory(c, 1); };
576
+ tabs.appendChild(b);
577
+ }
578
+ });
579
+ // Start with Popular tab
580
+ loadCategory('Popular', 1);
581
  </script>
582
  </body>
583
  </html>''')