Update app.py
Browse files
app.py
CHANGED
|
@@ -285,9 +285,10 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
| 285 |
"""
|
| 286 |
|
| 287 |
with gr.Blocks(css="""
|
|
|
|
|
|
|
| 288 |
body {
|
| 289 |
background-color: #000;
|
| 290 |
-
font-family: 'Arial', sans-serif;
|
| 291 |
margin: 0;
|
| 292 |
padding: 0;
|
| 293 |
}
|
|
@@ -300,6 +301,7 @@ body {
|
|
| 300 |
box-shadow: 0 10px 30px rgba(0,0,0,0.4);
|
| 301 |
overflow: hidden;
|
| 302 |
transition: transform 0.3s ease;
|
|
|
|
| 303 |
}
|
| 304 |
.gradio-container:active {
|
| 305 |
transform: scale(0.995);
|
|
@@ -314,6 +316,9 @@ body {
|
|
| 314 |
transition: all 0.3s ease;
|
| 315 |
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
| 316 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
| 317 |
}
|
| 318 |
.chat-message.user {
|
| 319 |
background: linear-gradient(145deg, #252525, #1f1f1f);
|
|
@@ -321,6 +326,8 @@ body {
|
|
| 321 |
align-items: flex-end;
|
| 322 |
border-bottom-right-radius: 5px;
|
| 323 |
margin-left: 40px;
|
|
|
|
|
|
|
| 324 |
}
|
| 325 |
.chat-message.bot {
|
| 326 |
background: linear-gradient(145deg, #2e2e2e, #252525);
|
|
@@ -328,6 +335,8 @@ body {
|
|
| 328 |
align-items: flex-start;
|
| 329 |
border-bottom-left-radius: 5px;
|
| 330 |
margin-right: 40px;
|
|
|
|
|
|
|
| 331 |
}
|
| 332 |
/* Startup message */
|
| 333 |
.startup-message {
|
|
@@ -338,6 +347,7 @@ body {
|
|
| 338 |
display: flex;
|
| 339 |
justify-content: center;
|
| 340 |
cursor: pointer;
|
|
|
|
| 341 |
}
|
| 342 |
.startup-content {
|
| 343 |
display: flex;
|
|
@@ -357,20 +367,28 @@ body {
|
|
| 357 |
text-align: left;
|
| 358 |
}
|
| 359 |
.startup-title {
|
| 360 |
-
font-weight:
|
| 361 |
font-size: 18px;
|
| 362 |
margin-bottom: 5px;
|
| 363 |
color: #fff;
|
|
|
|
|
|
|
| 364 |
}
|
| 365 |
.startup-subtitle {
|
| 366 |
font-size: 16px;
|
| 367 |
margin-bottom: 3px;
|
| 368 |
color: #eee;
|
|
|
|
|
|
|
|
|
|
| 369 |
}
|
| 370 |
.startup-note {
|
| 371 |
font-size: 12px;
|
| 372 |
color: #aaa;
|
| 373 |
font-style: italic;
|
|
|
|
|
|
|
|
|
|
| 374 |
}
|
| 375 |
textarea {
|
| 376 |
border: none;
|
|
@@ -391,6 +409,8 @@ textarea {
|
|
| 391 |
width: 100%;
|
| 392 |
cursor: pointer;
|
| 393 |
line-height: 1.5;
|
|
|
|
|
|
|
| 394 |
}
|
| 395 |
.send-btn {
|
| 396 |
border: none;
|
|
@@ -410,6 +430,7 @@ textarea {
|
|
| 410 |
right: 8px;
|
| 411 |
top: 8px;
|
| 412 |
overflow: hidden;
|
|
|
|
| 413 |
}
|
| 414 |
.send-btn:hover {
|
| 415 |
background: linear-gradient(145deg, #666, #555);
|
|
@@ -424,6 +445,8 @@ textarea {
|
|
| 424 |
transition: all 0.3s ease !important;
|
| 425 |
border: none !important;
|
| 426 |
cursor: pointer !important;
|
|
|
|
|
|
|
| 427 |
}
|
| 428 |
.gr-button.gr-login:hover {
|
| 429 |
background: linear-gradient(145deg, #444, #333) !important;
|
|
@@ -443,6 +466,7 @@ textarea {
|
|
| 443 |
min-height: 400px;
|
| 444 |
cursor: pointer;
|
| 445 |
transition: transform 0.3s ease;
|
|
|
|
| 446 |
}
|
| 447 |
.gr-box {
|
| 448 |
border-radius: 15px;
|
|
|
|
| 285 |
"""
|
| 286 |
|
| 287 |
with gr.Blocks(css="""
|
| 288 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Manrope:wght@300;400;500;600&family=Outfit:wght@300;400;500;600&display=swap');
|
| 289 |
+
|
| 290 |
body {
|
| 291 |
background-color: #000;
|
|
|
|
| 292 |
margin: 0;
|
| 293 |
padding: 0;
|
| 294 |
}
|
|
|
|
| 301 |
box-shadow: 0 10px 30px rgba(0,0,0,0.4);
|
| 302 |
overflow: hidden;
|
| 303 |
transition: transform 0.3s ease;
|
| 304 |
+
font-family: 'Manrope', 'Outfit', 'Inter', sans-serif;
|
| 305 |
}
|
| 306 |
.gradio-container:active {
|
| 307 |
transform: scale(0.995);
|
|
|
|
| 316 |
transition: all 0.3s ease;
|
| 317 |
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
| 318 |
cursor: pointer;
|
| 319 |
+
font-family: 'Outfit', 'Manrope', 'Inter', sans-serif;
|
| 320 |
+
font-weight: 400;
|
| 321 |
+
letter-spacing: -0.01em;
|
| 322 |
}
|
| 323 |
.chat-message.user {
|
| 324 |
background: linear-gradient(145deg, #252525, #1f1f1f);
|
|
|
|
| 326 |
align-items: flex-end;
|
| 327 |
border-bottom-right-radius: 5px;
|
| 328 |
margin-left: 40px;
|
| 329 |
+
font-family: 'Inter', 'Manrope', 'Outfit', sans-serif;
|
| 330 |
+
font-weight: 500;
|
| 331 |
}
|
| 332 |
.chat-message.bot {
|
| 333 |
background: linear-gradient(145deg, #2e2e2e, #252525);
|
|
|
|
| 335 |
align-items: flex-start;
|
| 336 |
border-bottom-left-radius: 5px;
|
| 337 |
margin-right: 40px;
|
| 338 |
+
font-family: 'Manrope', 'Outfit', 'Inter', sans-serif;
|
| 339 |
+
font-weight: 400;
|
| 340 |
}
|
| 341 |
/* Startup message */
|
| 342 |
.startup-message {
|
|
|
|
| 347 |
display: flex;
|
| 348 |
justify-content: center;
|
| 349 |
cursor: pointer;
|
| 350 |
+
font-family: 'Outfit', 'Manrope', 'Inter', sans-serif;
|
| 351 |
}
|
| 352 |
.startup-content {
|
| 353 |
display: flex;
|
|
|
|
| 367 |
text-align: left;
|
| 368 |
}
|
| 369 |
.startup-title {
|
| 370 |
+
font-weight: 600;
|
| 371 |
font-size: 18px;
|
| 372 |
margin-bottom: 5px;
|
| 373 |
color: #fff;
|
| 374 |
+
font-family: 'Inter', 'Manrope', 'Outfit', sans-serif;
|
| 375 |
+
letter-spacing: -0.02em;
|
| 376 |
}
|
| 377 |
.startup-subtitle {
|
| 378 |
font-size: 16px;
|
| 379 |
margin-bottom: 3px;
|
| 380 |
color: #eee;
|
| 381 |
+
font-family: 'Manrope', 'Outfit', 'Inter', sans-serif;
|
| 382 |
+
font-weight: 500;
|
| 383 |
+
letter-spacing: -0.01em;
|
| 384 |
}
|
| 385 |
.startup-note {
|
| 386 |
font-size: 12px;
|
| 387 |
color: #aaa;
|
| 388 |
font-style: italic;
|
| 389 |
+
font-family: 'Inter', 'Manrope', 'Outfit', sans-serif;
|
| 390 |
+
font-weight: 300;
|
| 391 |
+
letter-spacing: 0.01em;
|
| 392 |
}
|
| 393 |
textarea {
|
| 394 |
border: none;
|
|
|
|
| 409 |
width: 100%;
|
| 410 |
cursor: pointer;
|
| 411 |
line-height: 1.5;
|
| 412 |
+
font-family: 'Inter', 'Manrope', 'Outfit', sans-serif;
|
| 413 |
+
font-weight: 400;
|
| 414 |
}
|
| 415 |
.send-btn {
|
| 416 |
border: none;
|
|
|
|
| 430 |
right: 8px;
|
| 431 |
top: 8px;
|
| 432 |
overflow: hidden;
|
| 433 |
+
font-family: 'Inter', 'Manrope', 'Outfit', sans-serif;
|
| 434 |
}
|
| 435 |
.send-btn:hover {
|
| 436 |
background: linear-gradient(145deg, #666, #555);
|
|
|
|
| 445 |
transition: all 0.3s ease !important;
|
| 446 |
border: none !important;
|
| 447 |
cursor: pointer !important;
|
| 448 |
+
font-family: 'Manrope', 'Outfit', 'Inter', sans-serif !important;
|
| 449 |
+
font-weight: 500 !important;
|
| 450 |
}
|
| 451 |
.gr-button.gr-login:hover {
|
| 452 |
background: linear-gradient(145deg, #444, #333) !important;
|
|
|
|
| 466 |
min-height: 400px;
|
| 467 |
cursor: pointer;
|
| 468 |
transition: transform 0.3s ease;
|
| 469 |
+
font-family: 'Manrope', 'Outfit', 'Inter', sans-serif;
|
| 470 |
}
|
| 471 |
.gr-box {
|
| 472 |
border-radius: 15px;
|