Spaces:
Configuration error
Configuration error
Upload 9 files
Browse files- .gitattributes +1 -0
- static/Shape.png +0 -0
- static/logo2.png +0 -0
- static/main.css +336 -0
- static/pandam.png +3 -0
- templates/base.html +35 -0
- templates/index.html +36 -0
- templates/main.html +94 -0
- templates/music.html +24 -0
- templates/results.html +26 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
static/pandam.png filter=lfs diff=lfs merge=lfs -text
|
static/Shape.png
ADDED
|
static/logo2.png
ADDED
|
static/main.css
ADDED
|
@@ -0,0 +1,336 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*{
|
| 2 |
+
margin: 0;
|
| 3 |
+
padding: 0;
|
| 4 |
+
}
|
| 5 |
+
html{
|
| 6 |
+
scroll-behavior: smooth;
|
| 7 |
+
/* transition: 2s; */
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
/* ----------------------------------------------------------------------------------------------- */
|
| 11 |
+
|
| 12 |
+
/* NAVBAR */
|
| 13 |
+
#navbar{
|
| 14 |
+
|
| 15 |
+
display: flex;
|
| 16 |
+
align-items: center;
|
| 17 |
+
position: relative;
|
| 18 |
+
top: 0px;
|
| 19 |
+
}
|
| 20 |
+
#navbar::before{
|
| 21 |
+
|
| 22 |
+
background-color: #2F303A;
|
| 23 |
+
|
| 24 |
+
}
|
| 25 |
+
#logo{
|
| 26 |
+
margin: 10px 27px;
|
| 27 |
+
padding-left: 50px;
|
| 28 |
+
}
|
| 29 |
+
#logo img{
|
| 30 |
+
height: 60px;
|
| 31 |
+
margin: 3px 6px;
|
| 32 |
+
}
|
| 33 |
+
/* ----------------------------------------------------------------------------------------------- */
|
| 34 |
+
|
| 35 |
+
/* BODY */
|
| 36 |
+
.p{
|
| 37 |
+
display: flex;
|
| 38 |
+
}
|
| 39 |
+
.p h1{
|
| 40 |
+
font-family: 'Baloo Bhaijaan 2', cursive;
|
| 41 |
+
color: white;
|
| 42 |
+
/* color: rgb(148, 40, 40); */
|
| 43 |
+
list-style: none;
|
| 44 |
+
font-size: 28px;
|
| 45 |
+
}
|
| 46 |
+
.detail{
|
| 47 |
+
margin-left: 4%;
|
| 48 |
+
margin-top: 11%;
|
| 49 |
+
margin-bottom: 206px;
|
| 50 |
+
}
|
| 51 |
+
.detail h1{
|
| 52 |
+
font-family: 'Caveat', cursive;
|
| 53 |
+
font-family: 'Signika', sans-serif;
|
| 54 |
+
font-size: 50px;
|
| 55 |
+
color: white;
|
| 56 |
+
margin-bottom: 20px;
|
| 57 |
+
}
|
| 58 |
+
.spanA{
|
| 59 |
+
color: violet;
|
| 60 |
+
font-size: 70px;
|
| 61 |
+
}
|
| 62 |
+
.spanB{
|
| 63 |
+
color: rgb(106, 82, 211);
|
| 64 |
+
font-size: 70px;
|
| 65 |
+
}
|
| 66 |
+
.detail p{
|
| 67 |
+
font-family: 'Baloo Bhaijaan 2', cursive;
|
| 68 |
+
font-size: 20px;
|
| 69 |
+
color: rgb(255, 255, 255);
|
| 70 |
+
line-height: 25px;
|
| 71 |
+
}
|
| 72 |
+
.image{
|
| 73 |
+
width: 30%;
|
| 74 |
+
height: 80%;
|
| 75 |
+
position: absolute;
|
| 76 |
+
bottom: 0;
|
| 77 |
+
right: 100px;
|
| 78 |
+
}
|
| 79 |
+
.image img{
|
| 80 |
+
height: 100%;
|
| 81 |
+
position: absolute;
|
| 82 |
+
left: 35%;
|
| 83 |
+
bottom: 0;
|
| 84 |
+
transform: translate(-40%);
|
| 85 |
+
transition: bottom 1s, left 1s;
|
| 86 |
+
}
|
| 87 |
+
.image:hover .shape{
|
| 88 |
+
bottom: 30px;
|
| 89 |
+
|
| 90 |
+
}
|
| 91 |
+
.image:hover .panda{
|
| 92 |
+
left: 30px;
|
| 93 |
+
|
| 94 |
+
}
|
| 95 |
+
.index{
|
| 96 |
+
height: 100%;
|
| 97 |
+
width: 100%;
|
| 98 |
+
margin: 7rem 0 0 0;
|
| 99 |
+
background: #2F303A;
|
| 100 |
+
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
.resultpage{
|
| 104 |
+
margin-top:0%
|
| 105 |
+
}
|
| 106 |
+
.index h1{
|
| 107 |
+
font-family: 'Baloo Bhaijaan 2', cursive;
|
| 108 |
+
color: white;
|
| 109 |
+
}
|
| 110 |
+
.detail::before{
|
| 111 |
+
content: "";
|
| 112 |
+
background: #2F303A;
|
| 113 |
+
/* background: url('/cheers.jpg'); */
|
| 114 |
+
position: absolute;
|
| 115 |
+
top: -1px;
|
| 116 |
+
left: -70px;
|
| 117 |
+
height: 675px;
|
| 118 |
+
width: 105%;
|
| 119 |
+
z-index: -1;
|
| 120 |
+
}
|
| 121 |
+
.border {
|
| 122 |
+
font-size: 1.6rem;
|
| 123 |
+
display: grid;
|
| 124 |
+
place-items: center;
|
| 125 |
+
min-height: 200px;
|
| 126 |
+
border: 8px solid;
|
| 127 |
+
padding: 1rem;
|
| 128 |
+
}
|
| 129 |
+
.full-withradius {
|
| 130 |
+
position: relative;
|
| 131 |
+
background: #fff;
|
| 132 |
+
|
| 133 |
+
/*The background extends to the outside edge of the padding. No background is drawn beneath the border.*/
|
| 134 |
+
background-clip: padding-box;
|
| 135 |
+
|
| 136 |
+
border: solid 8px transparent;
|
| 137 |
+
border-radius: 0.8rem;
|
| 138 |
+
}
|
| 139 |
+
.btn{
|
| 140 |
+
margin: 15px 7px;
|
| 141 |
+
background-color: black;
|
| 142 |
+
color: white;
|
| 143 |
+
padding: 7px 22px;
|
| 144 |
+
border: 2px solid gray;
|
| 145 |
+
border-radius: 10px;
|
| 146 |
+
font-size: 18px;
|
| 147 |
+
cursor: pointer;
|
| 148 |
+
}
|
| 149 |
+
.btn a{
|
| 150 |
+
text-decoration: none;
|
| 151 |
+
color: white;
|
| 152 |
+
}
|
| 153 |
+
.btn:hover {
|
| 154 |
+
|
| 155 |
+
background-color: black;
|
| 156 |
+
padding: 10px 30px;
|
| 157 |
+
box-shadow: 0 0 10px cyan;
|
| 158 |
+
}
|
| 159 |
+
/* ----------------------------------------------------------------------------------------------- */
|
| 160 |
+
|
| 161 |
+
#body1{
|
| 162 |
+
display: flex;
|
| 163 |
+
justify-content: center;
|
| 164 |
+
align-items: center;
|
| 165 |
+
min-height: 110vh;
|
| 166 |
+
margin-top: -256px;
|
| 167 |
+
background: #2F303A;
|
| 168 |
+
}
|
| 169 |
+
#body1::before{
|
| 170 |
+
content: " ";
|
| 171 |
+
position: absolute;
|
| 172 |
+
/* top: 0;
|
| 173 |
+
left: 0; */
|
| 174 |
+
width: 100%;
|
| 175 |
+
height: 100%;
|
| 176 |
+
background: linear-gradient(#f00,#f0f);
|
| 177 |
+
clip-path: circle(30% at right 70%);
|
| 178 |
+
}
|
| 179 |
+
#body1::after{
|
| 180 |
+
content: " ";
|
| 181 |
+
position: absolute;
|
| 182 |
+
/* top: 0;
|
| 183 |
+
left: 0; */
|
| 184 |
+
width: 100%;
|
| 185 |
+
height: 100%;
|
| 186 |
+
background: linear-gradient(#2196f3,#e91e63);
|
| 187 |
+
clip-path: circle(20% at 10% 40%); /*upper wale bubble ke liye*/
|
| 188 |
+
}
|
| 189 |
+
.center{
|
| 190 |
+
font-family: 'Baloo Bhaijaan 2', cursive;
|
| 191 |
+
}
|
| 192 |
+
.container{
|
| 193 |
+
position: relative;
|
| 194 |
+
display: flex; /* ye dono se side hue content */
|
| 195 |
+
justify-content: center;
|
| 196 |
+
align-items: center;
|
| 197 |
+
max-width: 1200px;
|
| 198 |
+
flex-wrap: wrap;
|
| 199 |
+
z-index: 1;
|
| 200 |
+
}
|
| 201 |
+
.container .card{
|
| 202 |
+
position: relative;
|
| 203 |
+
width: 280px;
|
| 204 |
+
height: 400px;
|
| 205 |
+
margin: 50px;
|
| 206 |
+
box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
|
| 207 |
+
border-radius: 10px;
|
| 208 |
+
background: rgba(255, 255, 255, 0.1); /*ye box me color ke liye*/
|
| 209 |
+
overflow: hidden;
|
| 210 |
+
display: flex;
|
| 211 |
+
justify-content: center;
|
| 212 |
+
align-items: center;
|
| 213 |
+
border-top: 1px solid rgba(255, 255, 255, 0.6);
|
| 214 |
+
border-left: 1px solid rgba(255, 255, 255, 0.6);
|
| 215 |
+
backdrop-filter: blur(5px); /*box ke back ka blur karne ke liye*/
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
/*box ke inside jo likha hai uske liye ye*/
|
| 219 |
+
.container .card .content{
|
| 220 |
+
padding: 20px;
|
| 221 |
+
text-align: center;
|
| 222 |
+
transform: translateY(100px); /*for animation*/
|
| 223 |
+
opacity: 0;
|
| 224 |
+
transition: 0.5s;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
/*for animation*/
|
| 228 |
+
.container .card:hover .content{
|
| 229 |
+
transform: translateY(0px);
|
| 230 |
+
opacity: 1;
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.container .card .content h2{
|
| 234 |
+
position: absolute;
|
| 235 |
+
top: -90px;
|
| 236 |
+
right: 30px;
|
| 237 |
+
font-size: 8em;
|
| 238 |
+
color: rgba(255, 255, 255, 0.05);
|
| 239 |
+
pointer-events: none;
|
| 240 |
+
}
|
| 241 |
+
.container .card .content h3{
|
| 242 |
+
font-size: 1.8em;
|
| 243 |
+
color: #fff;
|
| 244 |
+
z-index: 1;
|
| 245 |
+
line-height: 40px;
|
| 246 |
+
}
|
| 247 |
+
.container .card .content p{
|
| 248 |
+
font-family: 'Baloo Bhaijaan 2', cursive;
|
| 249 |
+
font-size: 1em;
|
| 250 |
+
color: #fff;
|
| 251 |
+
font-weight: 300;
|
| 252 |
+
line-height: 20px;
|
| 253 |
+
}
|
| 254 |
+
.container .card .content a{
|
| 255 |
+
position: relative;
|
| 256 |
+
display: inline-block;
|
| 257 |
+
padding: 8px 20px;
|
| 258 |
+
margin-top: 15px;
|
| 259 |
+
background: #fff;
|
| 260 |
+
color: #000;
|
| 261 |
+
border-radius: 20px;
|
| 262 |
+
text-decoration: none;
|
| 263 |
+
font-weight: 500;
|
| 264 |
+
box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
|
| 265 |
+
}
|
| 266 |
+
.container .card .content a:hover{
|
| 267 |
+
border: 2px solid rgb(27, 24, 24);
|
| 268 |
+
background: rgba(0.0, 0.478, 1.0, 0.18);
|
| 269 |
+
}
|
| 270 |
+
.middle{
|
| 271 |
+
position: relative;
|
| 272 |
+
top: -53px;
|
| 273 |
+
|
| 274 |
+
}
|
| 275 |
+
.middle h1{
|
| 276 |
+
font-family: 'Baloo Bhaijaan 2', cursive;
|
| 277 |
+
font-size: 52px;
|
| 278 |
+
margin-bottom: 60px;
|
| 279 |
+
text-align: center;
|
| 280 |
+
color: white;
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
/* ----------------------------------------------------------------------------------------------- */
|
| 285 |
+
|
| 286 |
+
/* FOOTER */
|
| 287 |
+
footer {
|
| 288 |
+
/* width: 20px; */
|
| 289 |
+
height: 136px;
|
| 290 |
+
text-align: center;
|
| 291 |
+
background-color: rgb(0, 0, 0);
|
| 292 |
+
color: white;
|
| 293 |
+
margin-top: -43px;
|
| 294 |
+
/* margin: 50px; */
|
| 295 |
+
}
|
| 296 |
+
.social-media a{
|
| 297 |
+
/* filter: invert(100%); */
|
| 298 |
+
color: rgb(255, 255, 255);
|
| 299 |
+
font-size: 25px;
|
| 300 |
+
margin-right: 40px;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
.span1:hover
|
| 304 |
+
{
|
| 305 |
+
color: #3b5998;
|
| 306 |
+
padding: 20px;
|
| 307 |
+
}
|
| 308 |
+
.span2:hover
|
| 309 |
+
{
|
| 310 |
+
color: #00acee;
|
| 311 |
+
padding: 20px;
|
| 312 |
+
}
|
| 313 |
+
.span3:hover
|
| 314 |
+
{
|
| 315 |
+
color: rgb(238, 23, 202);
|
| 316 |
+
padding: 20px;
|
| 317 |
+
}
|
| 318 |
+
.span4:hover
|
| 319 |
+
{
|
| 320 |
+
color: rgb(238, 23, 23);
|
| 321 |
+
padding: 20px;
|
| 322 |
+
}
|
| 323 |
+
.footer-conatiner{
|
| 324 |
+
max-width: 1455px;
|
| 325 |
+
margin: auto;
|
| 326 |
+
padding: 0 20px;
|
| 327 |
+
align-items: center;
|
| 328 |
+
flex-wrap: wrap-reverse;
|
| 329 |
+
}
|
| 330 |
+
.footer-conatiner, .center h1{
|
| 331 |
+
/* padding: 12px; */
|
| 332 |
+
margin: 0px;
|
| 333 |
+
}
|
| 334 |
+
|
| 335 |
+
|
| 336 |
+
|
static/pandam.png
ADDED
|
Git LFS Details
|
templates/base.html
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<!-- Required meta tags -->
|
| 5 |
+
<meta charset="utf-8">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 7 |
+
|
| 8 |
+
<!-- Bootstrap CSS -->
|
| 9 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
| 10 |
+
<link rel="stylesheet" href="static/style.css">
|
| 11 |
+
<title>Group 13</title>
|
| 12 |
+
</head>
|
| 13 |
+
|
| 14 |
+
<body>
|
| 15 |
+
<nav class="navbar navbar-dark bg-dark">
|
| 16 |
+
<div class="container-fluid">
|
| 17 |
+
<a class="navbar-brand" href="#">
|
| 18 |
+
<img src="/static/logo1.png" alt="" width="27" height="27" class="d-inline-block align-text-top">
|
| 19 |
+
Emotion Based Video and Music Recommendation System
|
| 20 |
+
</a>
|
| 21 |
+
</div>
|
| 22 |
+
</nav>
|
| 23 |
+
{%block body%}{%endblock body%}
|
| 24 |
+
|
| 25 |
+
<!-- Optional JavaScript; choose one of the two! -->
|
| 26 |
+
<!-- Option 1: Bootstrap Bundle with Popper -->
|
| 27 |
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
|
| 28 |
+
|
| 29 |
+
<!-- Option 2: Separate Popper and Bootstrap JS -->
|
| 30 |
+
<!--
|
| 31 |
+
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
|
| 32 |
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
|
| 33 |
+
-->
|
| 34 |
+
</body>
|
| 35 |
+
</html>
|
templates/index.html
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
|
| 8 |
+
<link rel="stylesheet" href="../static/main.css">
|
| 9 |
+
<title>Detection</title>
|
| 10 |
+
<link rel="shortcut icon" type="image/png" href="../static/fev1M1.png">
|
| 11 |
+
</head>
|
| 12 |
+
<body class="index"
|
| 13 |
+
>
|
| 14 |
+
<div id="videoContainer" style="text-align:-webkit-center">
|
| 15 |
+
<img src="{{url_for('video')}}" id="video_stream" style="margin:0 0 0 0" class="full-withradius border"/>
|
| 16 |
+
</div>
|
| 17 |
+
|
| 18 |
+
<form action="/result" class="d-flex" method="POST" style="justify-content: center;
|
| 19 |
+
align-content:center">
|
| 20 |
+
|
| 21 |
+
<div class="btn-group" role="group" aria-label="Basic radio toggle button group">
|
| 22 |
+
<input type="radio" class="btn-check" name="btnradio" id="btnradio1" autocomplete="off" value="music" checked>
|
| 23 |
+
<label class="btn btn-outline-primary" for="btnradio1">Music</label>
|
| 24 |
+
|
| 25 |
+
<input type="radio" class="btn-check" name="btnradio" id="btnradio2" autocomplete="off" value="video">
|
| 26 |
+
<label class="btn btn-outline-primary" for="btnradio2">Video</label>
|
| 27 |
+
|
| 28 |
+
</div>
|
| 29 |
+
</div>
|
| 30 |
+
<div>
|
| 31 |
+
<button class="btn btn-outline-success" type="submit" value='Search' >Recommend</button>
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
</form>
|
| 35 |
+
</body>
|
| 36 |
+
</html>
|
templates/main.html
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>EBV&MRS</title>
|
| 8 |
+
<link rel="shortcut icon" type="image/png" href="../static/fev1M1.png">
|
| 9 |
+
<link rel="stylesheet" href="../static/main.css">
|
| 10 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
| 11 |
+
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@600&display=swap" rel="stylesheet">
|
| 12 |
+
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@500&family=Signika:wght@300&display=swap" rel="stylesheet">
|
| 13 |
+
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@500&family=Courgette&display=swap" rel="stylesheet">
|
| 14 |
+
</head>
|
| 15 |
+
|
| 16 |
+
<body>
|
| 17 |
+
<nav id="navbar">
|
| 18 |
+
<div id="logo">
|
| 19 |
+
<img src="../static/logo2.png" alt="myOnlinemeal.com">
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
<div class="p">
|
| 23 |
+
<h1>Emotion Based Video and Music Recommendation System</h1>
|
| 24 |
+
</div>
|
| 25 |
+
</nav>
|
| 26 |
+
|
| 27 |
+
<div class="detail">
|
| 28 |
+
<h1>Enjoy free <span class="spanA">Video</span> & <span class="spanB">Music</span></h1>
|
| 29 |
+
<p>This platform created to provide you best
|
| 30 |
+
<br> Video and Music based on your current mood (Emotion).
|
| 31 |
+
</p>
|
| 32 |
+
<br>
|
| 33 |
+
<div class="left">
|
| 34 |
+
<button class="btn"><a href="#body1">Know More</a></button><form action="/index" method="GET"><button class="btn">Get Started</button></form>
|
| 35 |
+
</div>
|
| 36 |
+
</div>
|
| 37 |
+
<div class="image">
|
| 38 |
+
<img src="../static/Shape.png" class=shape >
|
| 39 |
+
<img src="../static/pandam.png" class=panda>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<div class="middle">
|
| 43 |
+
<h1>Know More About It</h1>
|
| 44 |
+
</div>
|
| 45 |
+
<div id="body1">
|
| 46 |
+
<div class="container">
|
| 47 |
+
<div class="card">
|
| 48 |
+
<div class="content">
|
| 49 |
+
|
| 50 |
+
<h3>Motto</h3>
|
| 51 |
+
<p> The main motto behind this project is to reduce stress and save time of the people from their hectic schedule. This website provide you Video and Music based on your emotion. To read more about benefit of stress-free life click on read more.<p>
|
| 52 |
+
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
|
| 56 |
+
<div class="card">
|
| 57 |
+
<div class="content">
|
| 58 |
+
|
| 59 |
+
<h3>Video</h3>
|
| 60 |
+
<p>You can watch Short Movie/Video based on your emotion. After clicking on get started,show your face on webcame to detect your current emotion, after the detection completed select video to get variety of Video. To read more about benefit of Video click on below button. </p>
|
| 61 |
+
|
| 62 |
+
</div>
|
| 63 |
+
</div>
|
| 64 |
+
|
| 65 |
+
<div class="card">
|
| 66 |
+
<div class="content">
|
| 67 |
+
|
| 68 |
+
<h3>Music</h3>
|
| 69 |
+
<p>You can listen music based on your emotion. After clicking on Get Started button show your face to webcame to detect your emotion, after detection simply click on music to get music. To read more about benefit of Music click on below button.</p>
|
| 70 |
+
|
| 71 |
+
</div>
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
<footer>
|
| 78 |
+
<div class="footer-conatiner">
|
| 79 |
+
<div class="center">
|
| 80 |
+
<h1>Best things for Entertainment</h1>
|
| 81 |
+
</div><br>
|
| 82 |
+
<div class="social-media">
|
| 83 |
+
<a href="#"><span1 class="span1"><i class="fab fa-facebook-f"></span></i></a>
|
| 84 |
+
<a href="#"><span1 class="span2"><i class="fab fa-twitter"></span></i></a>
|
| 85 |
+
<a href="#"><span1 class="span3"><i class="fab fa-instagram"></span></i></a>
|
| 86 |
+
<a href="#"><span1 class="span4"><i class="fab fa-youtube"></span></i></a>
|
| 87 |
+
</div><br>
|
| 88 |
+
<p class="right-text">© 2022 Created by Group-13 CSE(DS). All rights reserved.</p>
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
</footer>
|
| 92 |
+
</body>
|
| 93 |
+
|
| 94 |
+
</html>
|
templates/music.html
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<link rel="stylesheet" href="../static/main.css">
|
| 8 |
+
<title>Songs</title>
|
| 9 |
+
<link rel="shortcut icon" type="image/png" href="../static/fev1M1.png">
|
| 10 |
+
</head>
|
| 11 |
+
<body class="index resultpage">
|
| 12 |
+
<nav> <h1 style='text-align:center'>TOP 10 {{input}} Songs </h1></nav>
|
| 13 |
+
|
| 14 |
+
<div id="box_div">
|
| 15 |
+
{% for id in music_ids%}
|
| 16 |
+
<iframe src="https://open.spotify.com/embed/track/{{id}}?utm_source=generator" width="30%" height="380" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" id='box_frame' style="padding:1rem 1rem"></iframe>
|
| 17 |
+
{%endfor%}
|
| 18 |
+
</div>
|
| 19 |
+
</body>
|
| 20 |
+
</html>
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
templates/results.html
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<link rel="stylesheet" href="../static/main.css">
|
| 8 |
+
<title>Video</title>
|
| 9 |
+
<link rel="shortcut icon" type="image/png" href="../static/fev1M1.png">
|
| 10 |
+
</head>
|
| 11 |
+
<body class="index resultpage">
|
| 12 |
+
<nav><h1 style='text-align:center'>TOP 10 {{input}} Videos </h1></nav>
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
<div id=box_div class="detail">
|
| 16 |
+
|
| 17 |
+
{% for id in video_ids%}
|
| 18 |
+
<iframe width="30%" height="380" src="https://www.youtube.com/embed/{{id}}" frameborder="0" allowfullscreen id="box_frame" style="padding:1rem 1rem"></iframe>
|
| 19 |
+
{%endfor%}
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
</body>
|
| 23 |
+
</html>
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|