docto41 commited on
Commit
1c2ad64
·
verified ·
1 Parent(s): 44f0558

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +367 -19
  3. prompts.txt +2 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Vgt
3
- emoji: 📚
4
- colorFrom: purple
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: vgt
3
+ emoji: 🐳
4
+ colorFrom: gray
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,367 @@
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="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Films Français à Voir Absolument</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=Montserrat:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Montserrat', sans-serif;
14
+ background-color: #f8f9fa;
15
+ }
16
+
17
+ .film-card {
18
+ transition: all 0.3s ease;
19
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
20
+ }
21
+
22
+ .film-card:hover {
23
+ transform: translateY(-5px);
24
+ box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
25
+ }
26
+
27
+ .french-flag {
28
+ background: linear-gradient(90deg, #0055A4 33%, #FFFFFF 33%, #FFFFFF 66%, #EF4135 66%);
29
+ }
30
+
31
+ .search-input:focus {
32
+ outline: none;
33
+ box-shadow: 0 0 0 2px #3b82f6;
34
+ }
35
+
36
+ .filter-btn.active {
37
+ background-color: #3b82f6;
38
+ color: white;
39
+ }
40
+ </style>
41
+ </head>
42
+ <body class="bg-gray-100">
43
+ <!-- Header -->
44
+ <header class="bg-white shadow-md">
45
+ <div class="container mx-auto px-4 py-6">
46
+ <div class="flex flex-col md:flex-row justify-between items-center">
47
+ <div class="flex items-center mb-4 md:mb-0">
48
+ <div class="french-flag w-10 h-10 rounded-full mr-3"></div>
49
+ <h1 class="text-2xl font-bold text-gray-800">CinéFrançais</h1>
50
+ </div>
51
+ <div class="relative w-full md:w-1/3">
52
+ <input type="text" placeholder="Rechercher un film..."
53
+ class="search-input w-full px-4 py-2 rounded-full border border-gray-300 focus:border-blue-500">
54
+ <button class="absolute right-3 top-2 text-gray-500">
55
+ <i class="fas fa-search"></i>
56
+ </button>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </header>
61
+
62
+ <!-- Main Content -->
63
+ <main class="container mx-auto px-4 py-8">
64
+ <!-- Filters -->
65
+ <div class="mb-8 bg-white p-4 rounded-lg shadow-sm">
66
+ <h2 class="text-lg font-semibold mb-4 text-gray-700">Filtrer par :</h2>
67
+ <div class="flex flex-wrap gap-2">
68
+ <button class="filter-btn active px-4 py-2 rounded-full bg-gray-200 text-gray-700 hover:bg-blue-500 hover:text-white transition">
69
+ Tous
70
+ </button>
71
+ <button class="filter-btn px-4 py-2 rounded-full bg-gray-200 text-gray-700 hover:bg-blue-500 hover:text-white transition" data-genre="drame">
72
+ Drame
73
+ </button>
74
+ <button class="filter-btn px-4 py-2 rounded-full bg-gray-200 text-gray-700 hover:bg-blue-500 hover:text-white transition" data-genre="comedie">
75
+ Comédie
76
+ </button>
77
+ <button class="filter-btn px-4 py-2 rounded-full bg-gray-200 text-gray-700 hover:bg-blue-500 hover:text-white transition" data-genre="policier">
78
+ Policier
79
+ </button>
80
+ <button class="filter-btn px-4 py-2 rounded-full bg-gray-200 text-gray-700 hover:bg-blue-500 hover:text-white transition" data-genre="historique">
81
+ Historique
82
+ </button>
83
+ <button class="filter-btn px-4 py-2 rounded-full bg-gray-200 text-gray-700 hover:bg-blue-500 hover:text-white transition" data-genre="romance">
84
+ Romance
85
+ </button>
86
+ <button class="filter-btn px-4 py-2 rounded-full bg-gray-200 text-gray-700 hover:bg-blue-500 hover:text-white transition" data-genre="fantastique">
87
+ Fantastique
88
+ </button>
89
+ </div>
90
+ </div>
91
+
92
+ <!-- Films Grid -->
93
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6" id="films-container">
94
+ <!-- Films will be loaded here by JavaScript -->
95
+ </div>
96
+ </main>
97
+
98
+ <!-- Footer -->
99
+ <footer class="bg-gray-800 text-white py-8">
100
+ <div class="container mx-auto px-4">
101
+ <div class="flex flex-col md:flex-row justify-between">
102
+ <div class="mb-6 md:mb-0">
103
+ <h2 class="text-xl font-bold mb-4">CinéFrançais</h2>
104
+ <p class="text-gray-400">La meilleure sélection de films français à voir absolument.</p>
105
+ </div>
106
+ <div>
107
+ <h3 class="text-lg font-semibold mb-4">Contact</h3>
108
+ <p class="text-gray-400 mb-2"><i class="fas fa-envelope mr-2"></i> [email protected]</p>
109
+ <p class="text-gray-400"><i class="fas fa-phone mr-2"></i> +33 1 23 45 67 89</p>
110
+ </div>
111
+ </div>
112
+ <div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
113
+ <p>© 2023 CinéFrançais. Tous droits réservés.</p>
114
+ </div>
115
+ </div>
116
+ </footer>
117
+
118
+ <script>
119
+ // Base de données des films français
120
+ const films = [
121
+ {
122
+ id: 1,
123
+ titre: "Intouchables",
124
+ annee: 2011,
125
+ realisateur: "Olivier Nakache, Éric Toledano",
126
+ genre: ["comedie", "drame"],
127
+ duree: "1h52",
128
+ note: 4.8,
129
+ description: "Après un accident de parapente, Philippe, riche aristocrate, engage comme aide à domicile Driss, un jeune de banlieue tout juste sorti de prison.",
130
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/86/98/92/19870792.jpg",
131
+ streaming: true
132
+ },
133
+ {
134
+ id: 2,
135
+ titre: "Le Fabuleux Destin d'Amélie Poulain",
136
+ annee: 2001,
137
+ realisateur: "Jean-Pierre Jeunet",
138
+ genre: ["romance", "comedie"],
139
+ duree: "2h02",
140
+ note: 4.7,
141
+ description: "Amélie, une serveuse dans un café de Montmartre, décide de changer la vie des gens autour d'elle tout en cherchant le bonheur pour elle-même.",
142
+ image: "https://fr.web.img5.acsta.net/medias/nmedia/18/35/91/67/20350723.jpg",
143
+ streaming: true
144
+ },
145
+ {
146
+ id: 3,
147
+ titre: "La Haine",
148
+ annee: 1995,
149
+ realisateur: "Mathieu Kassovitz",
150
+ genre: ["drame", "policier"],
151
+ duree: "1h38",
152
+ note: 4.6,
153
+ description: "24 heures dans la vie de trois jeunes de banlieue après une nuit d'émeutes provoquée par le passage à tabac d'un adolescent par la police.",
154
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/65/60/65/19161098.jpg",
155
+ streaming: true
156
+ },
157
+ {
158
+ id: 4,
159
+ titre: "Le Dîner de Cons",
160
+ annee: 1998,
161
+ realisateur: "Francis Veber",
162
+ genre: ["comedie"],
163
+ duree: "1h20",
164
+ note: 4.5,
165
+ description: "Chaque mercredi, Pierre organise un dîner de cons. Ce soir, il pense avoir trouvé le champion toutes catégories en la personne de François Pignon.",
166
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/36/02/52/18624141.jpg",
167
+ streaming: true
168
+ },
169
+ {
170
+ id: 5,
171
+ titre: "Un Prophète",
172
+ annee: 2009,
173
+ realisateur: "Jacques Audiard",
174
+ genre: ["drame", "policier"],
175
+ duree: "2h35",
176
+ note: 4.6,
177
+ description: "Condamné à six ans de prison, Malik El Djebena, illettré de 19 ans, apprend à survivre en devenant le protégé d'un parrain corse.",
178
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/67/93/21/18958594.jpg",
179
+ streaming: false
180
+ },
181
+ {
182
+ id: 6,
183
+ titre: "Les Visiteurs",
184
+ annee: 1993,
185
+ realisateur: "Jean-Marie Poiré",
186
+ genre: ["comedie", "fantastique"],
187
+ duree: "1h47",
188
+ note: 4.4,
189
+ description: "En l'an 1123, le comte Godefroy de Montmirail et son écuyer Jacquouille sont projetés dans le XXe siècle à cause d'une potion ratée.",
190
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/65/03/10/18908544.jpg",
191
+ streaming: true
192
+ },
193
+ {
194
+ id: 7,
195
+ titre: "Amour",
196
+ annee: 2012,
197
+ realisateur: "Michael Haneke",
198
+ genre: ["drame"],
199
+ duree: "2h07",
200
+ note: 4.3,
201
+ description: "Georges et Anne, un couple de professeurs de musique retraités, voient leur vie bouleversée quand Anne est victime d'un accident vasculaire cérébral.",
202
+ image: "https://fr.web.img5.acsta.net/medias/nmedia/18/88/01/04/19892586.jpg",
203
+ streaming: false
204
+ },
205
+ {
206
+ id: 8,
207
+ titre: "Le Prénom",
208
+ annee: 2012,
209
+ realisateur: "Alexandre de La Patellière, Matthieu Delaporte",
210
+ genre: ["comedie"],
211
+ duree: "1h49",
212
+ note: 4.2,
213
+ description: "Vincent annonce à son ami d'enfance qu'il va appeler son futur fils Adolphe, déclenchant une violente dispute lors d'un dîner entre amis.",
214
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/85/99/60/19782365.jpg",
215
+ streaming: true
216
+ },
217
+ {
218
+ id: 9,
219
+ titre: "La Grande Vadrouille",
220
+ annee: 1966,
221
+ realisateur: "Gérard Oury",
222
+ genre: ["comedie", "historique"],
223
+ duree: "2h12",
224
+ note: 4.5,
225
+ description: "Pendant la Seconde Guerre mondiale, deux civils français aident des aviateurs britanniques à fuir la France occupée.",
226
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/36/26/93/18696995.jpg",
227
+ streaming: true
228
+ },
229
+ {
230
+ id: 10,
231
+ titre: "Caché",
232
+ annee: 2005,
233
+ realisateur: "Michael Haneke",
234
+ genre: ["drame", "policier"],
235
+ duree: "1h57",
236
+ note: 4.1,
237
+ description: "Un couple parisien reçoit des cassettes vidéo anonymes les filmant devant chez eux, ainsi que des dessins énigmatiques.",
238
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/35/18/37/18361593.jpg",
239
+ streaming: false
240
+ },
241
+ {
242
+ id: 11,
243
+ titre: "Bienvenue chez les Ch'tis",
244
+ annee: 2008,
245
+ realisateur: "Dany Boon",
246
+ genre: ["comedie"],
247
+ duree: "1h46",
248
+ note: 4.3,
249
+ description: "Un directeur de bureau de poste est muté dans le Nord de la France où il découvre les particularités locales et leurs habitants.",
250
+ image: "https://fr.web.img6.acsta.net/medias/nmedia/18/63/97/89/18949561.jpg",
251
+ streaming: true
252
+ },
253
+ {
254
+ id: 12,
255
+ titre: "Le Chant du Loup",
256
+ annee: 2019,
257
+ realisateur: "Antonin Baudry",
258
+ genre: ["drame", "policier"],
259
+ duree: "1h55",
260
+ note: 4.0,
261
+ description: "Un sous-marin nucléaire français est pris dans un engrenage qui pourrait déclencher une troisième guerre mondiale.",
262
+ image: "https://fr.web.img6.acsta.net/pictures/19/02/19/12/25/5782433.jpg",
263
+ streaming: true
264
+ }
265
+ ];
266
+
267
+ // Load films on page load
268
+ document.addEventListener('DOMContentLoaded', function() {
269
+ displayFilms(films);
270
+
271
+ // Search functionality
272
+ const searchInput = document.querySelector('.search-input');
273
+ searchInput.addEventListener('input', function() {
274
+ const searchTerm = this.value.toLowerCase();
275
+ const filteredFilms = films.filter(film =>
276
+ film.titre.toLowerCase().includes(searchTerm) ||
277
+ film.realisateur.toLowerCase().includes(searchTerm)
278
+ );
279
+ displayFilms(filteredFilms);
280
+ });
281
+
282
+ // Filter by genre
283
+ const filterButtons = document.querySelectorAll('.filter-btn');
284
+ filterButtons.forEach(button => {
285
+ button.addEventListener('click', function() {
286
+ // Remove active class from all buttons
287
+ filterButtons.forEach(btn => btn.classList.remove('active'));
288
+ // Add active class to clicked button
289
+ this.classList.add('active');
290
+
291
+ const genre = this.dataset.genre;
292
+ if (!genre) {
293
+ displayFilms(films);
294
+ } else {
295
+ const filteredFilms = films.filter(film =>
296
+ film.genre.includes(genre)
297
+ );
298
+ displayFilms(filteredFilms);
299
+ }
300
+ });
301
+ });
302
+ });
303
+
304
+ // Display films in the container
305
+ function displayFilms(filmsToDisplay) {
306
+ const container = document.getElementById('films-container');
307
+ container.innerHTML = '';
308
+
309
+ if (filmsToDisplay.length === 0) {
310
+ container.innerHTML = `
311
+ <div class="col-span-full text-center py-10">
312
+ <i class="fas fa-film text-5xl text-gray-400 mb-4"></i>
313
+ <h3 class="text-xl font-semibold text-gray-700">Aucun film trouvé</h3>
314
+ <p class="text-gray-500">Essayez avec d'autres critères de recherche</p>
315
+ </div>
316
+ `;
317
+ return;
318
+ }
319
+
320
+ filmsToDisplay.forEach(film => {
321
+ const filmCard = document.createElement('div');
322
+ filmCard.className = 'film-card bg-white rounded-lg overflow-hidden';
323
+ filmCard.innerHTML = `
324
+ <div class="relative">
325
+ <img src="${film.image}" alt="${film.titre}" class="w-full h-64 object-cover">
326
+ ${film.streaming ? `
327
+ <div class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded">
328
+ <i class="fas fa-play mr-1"></i> Streaming
329
+ </div>
330
+ ` : ''}
331
+ <div class="absolute bottom-2 left-2 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded">
332
+ ${film.annee}
333
+ </div>
334
+ </div>
335
+ <div class="p-4">
336
+ <h3 class="text-lg font-bold text-gray-800 mb-1">${film.titre}</h3>
337
+ <p class="text-sm text-gray-600 mb-2">${film.realisateur}</p>
338
+ <div class="flex items-center mb-3">
339
+ ${Array(Math.floor(film.note)).fill().map(() =>
340
+ `<i class="fas fa-star text-yellow-400 mr-1"></i>`
341
+ ).join('')}
342
+ ${film.note % 1 >= 0.5 ?
343
+ `<i class="fas fa-star-half-alt text-yellow-400 mr-1"></i>` :
344
+ ''
345
+ }
346
+ <span class="text-gray-500 text-sm ml-1">${film.note.toFixed(1)}</span>
347
+ </div>
348
+ <div class="flex flex-wrap gap-1 mb-3">
349
+ ${film.genre.map(g =>
350
+ `<span class="text-xs px-2 py-1 bg-gray-200 text-gray-700 rounded-full">${g.charAt(0).toUpperCase() + g.slice(1)}</span>`
351
+ ).join('')}
352
+ </div>
353
+ <p class="text-sm text-gray-700 mb-4 line-clamp-2">${film.description}</p>
354
+ <div class="flex justify-between items-center">
355
+ <span class="text-sm text-gray-500">${film.duree}</span>
356
+ <button class="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600 transition">
357
+ ${film.streaming ? 'Regarder' : 'Plus d\'infos'}
358
+ </button>
359
+ </div>
360
+ </div>
361
+ `;
362
+ container.appendChild(filmCard);
363
+ });
364
+ }
365
+ </script>
366
+ <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=docto41/vgt" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
367
+ </html>
prompts.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ https://huggingface.co/spaces/docto41/cin-plus
2
+ CREER UNE BASE DE DONN22 DE FILM A REGARDER TOUTE DE SUUITE EN FRANCAIS