Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ COUNTER = """
|
|
| 43 |
padding: 20px;
|
| 44 |
}
|
| 45 |
.countdown-container {
|
| 46 |
-
background:
|
| 47 |
border-radius: 20px;
|
| 48 |
padding: 40px;
|
| 49 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
@@ -56,7 +56,7 @@ COUNTER = """
|
|
| 56 |
.title {
|
| 57 |
font-size: 28px;
|
| 58 |
font-weight: 600;
|
| 59 |
-
color:
|
| 60 |
margin-bottom: 40px;
|
| 61 |
}
|
| 62 |
.countdown {
|
|
@@ -85,12 +85,12 @@ COUNTER = """
|
|
| 85 |
}
|
| 86 |
.circle-bg {
|
| 87 |
fill: none;
|
| 88 |
-
stroke: rgba(0, 0, 0, 0.
|
| 89 |
stroke-width: 6;
|
| 90 |
}
|
| 91 |
.circle-progress {
|
| 92 |
fill: none;
|
| 93 |
-
stroke:
|
| 94 |
stroke-width: 6;
|
| 95 |
stroke-linecap: round;
|
| 96 |
stroke-dasharray: 283;
|
|
@@ -104,13 +104,13 @@ COUNTER = """
|
|
| 104 |
transform: translate(-50%, -50%);
|
| 105 |
font-size: 32px;
|
| 106 |
font-weight: 700;
|
| 107 |
-
color:
|
| 108 |
font-family: 'Courier New', monospace;
|
| 109 |
}
|
| 110 |
.label {
|
| 111 |
font-size: 16px;
|
| 112 |
font-weight: 500;
|
| 113 |
-
color:
|
| 114 |
text-transform: uppercase;
|
| 115 |
letter-spacing: 1px;
|
| 116 |
}
|
|
@@ -185,7 +185,7 @@ COUNTER = """
|
|
| 185 |
</div>
|
| 186 |
</div>
|
| 187 |
<script>
|
| 188 |
-
// Set target date to November
|
| 189 |
const targetDate = new Date(Date.UTC(2025, 10, 13, 23, 59, 59)); // Month is 0-indexed (10 = November)
|
| 190 |
|
| 191 |
function updateCountdown() {
|
|
@@ -570,22 +570,19 @@ if check_dataset_health():
|
|
| 570 |
else:
|
| 571 |
logger.warning("⚠️ System starting with dataset health warnings")
|
| 572 |
|
| 573 |
-
# Custom CSS for
|
| 574 |
custom_css = """
|
| 575 |
.gradio-container {
|
| 576 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
| 577 |
}
|
| 578 |
.header-gradient {
|
| 579 |
-
|
| 580 |
-
-webkit-background-clip: text;
|
| 581 |
-
-webkit-text-fill-color: transparent;
|
| 582 |
-
background-clip: text;
|
| 583 |
}
|
| 584 |
-
/*
|
| 585 |
#gradient-submit-btn {
|
| 586 |
-
background:
|
| 587 |
-
border:
|
| 588 |
-
color:
|
| 589 |
font-weight: 600 !important;
|
| 590 |
font-size: 18px !important;
|
| 591 |
padding: 16px 32px !important;
|
|
@@ -597,6 +594,7 @@ custom_css = """
|
|
| 597 |
#gradient-submit-btn:hover {
|
| 598 |
transform: translateY(-2px) !important;
|
| 599 |
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
|
|
|
|
| 600 |
}
|
| 601 |
#gradient-submit-btn:active {
|
| 602 |
transform: translateY(0px) !important;
|
|
@@ -608,21 +606,23 @@ custom_css = """
|
|
| 608 |
cursor: not-allowed !important;
|
| 609 |
transform: none !important;
|
| 610 |
}
|
| 611 |
-
/* Verify button styling */
|
| 612 |
#verify-btn {
|
| 613 |
-
background:
|
| 614 |
-
border:
|
| 615 |
-
color:
|
| 616 |
font-weight: 600 !important;
|
| 617 |
font-size: 16px !important;
|
| 618 |
padding: 12px 24px !important;
|
| 619 |
border-radius: 8px !important;
|
| 620 |
-
box-shadow: 0 3px 10px rgba(
|
| 621 |
transition: all 0.3s ease !important;
|
| 622 |
}
|
| 623 |
#verify-btn:hover {
|
| 624 |
transform: translateY(-2px) !important;
|
| 625 |
-
box-shadow: 0 5px 15px rgba(
|
|
|
|
|
|
|
| 626 |
}
|
| 627 |
"""
|
| 628 |
|
|
|
|
| 43 |
padding: 20px;
|
| 44 |
}
|
| 45 |
.countdown-container {
|
| 46 |
+
background: #C8DDD7;
|
| 47 |
border-radius: 20px;
|
| 48 |
padding: 40px;
|
| 49 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
|
|
| 56 |
.title {
|
| 57 |
font-size: 28px;
|
| 58 |
font-weight: 600;
|
| 59 |
+
color: #000000;
|
| 60 |
margin-bottom: 40px;
|
| 61 |
}
|
| 62 |
.countdown {
|
|
|
|
| 85 |
}
|
| 86 |
.circle-bg {
|
| 87 |
fill: none;
|
| 88 |
+
stroke: rgba(0, 0, 0, 0.15);
|
| 89 |
stroke-width: 6;
|
| 90 |
}
|
| 91 |
.circle-progress {
|
| 92 |
fill: none;
|
| 93 |
+
stroke: #000000;
|
| 94 |
stroke-width: 6;
|
| 95 |
stroke-linecap: round;
|
| 96 |
stroke-dasharray: 283;
|
|
|
|
| 104 |
transform: translate(-50%, -50%);
|
| 105 |
font-size: 32px;
|
| 106 |
font-weight: 700;
|
| 107 |
+
color: #000000;
|
| 108 |
font-family: 'Courier New', monospace;
|
| 109 |
}
|
| 110 |
.label {
|
| 111 |
font-size: 16px;
|
| 112 |
font-weight: 500;
|
| 113 |
+
color: #000000;
|
| 114 |
text-transform: uppercase;
|
| 115 |
letter-spacing: 1px;
|
| 116 |
}
|
|
|
|
| 185 |
</div>
|
| 186 |
</div>
|
| 187 |
<script>
|
| 188 |
+
// Set target date to November 13, 2025, 11:59 PM UTC
|
| 189 |
const targetDate = new Date(Date.UTC(2025, 10, 13, 23, 59, 59)); // Month is 0-indexed (10 = November)
|
| 190 |
|
| 191 |
function updateCountdown() {
|
|
|
|
| 570 |
else:
|
| 571 |
logger.warning("⚠️ System starting with dataset health warnings")
|
| 572 |
|
| 573 |
+
# Custom CSS for MCP theme
|
| 574 |
custom_css = """
|
| 575 |
.gradio-container {
|
| 576 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
| 577 |
}
|
| 578 |
.header-gradient {
|
| 579 |
+
color: #000000;
|
|
|
|
|
|
|
|
|
|
| 580 |
}
|
| 581 |
+
/* MCP-themed Submit Button Styling */
|
| 582 |
#gradient-submit-btn {
|
| 583 |
+
background: #C8DDD7 !important;
|
| 584 |
+
border: 2px solid #000000 !important;
|
| 585 |
+
color: #000000 !important;
|
| 586 |
font-weight: 600 !important;
|
| 587 |
font-size: 18px !important;
|
| 588 |
padding: 16px 32px !important;
|
|
|
|
| 594 |
#gradient-submit-btn:hover {
|
| 595 |
transform: translateY(-2px) !important;
|
| 596 |
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
|
| 597 |
+
background: #B8CEC7 !important;
|
| 598 |
}
|
| 599 |
#gradient-submit-btn:active {
|
| 600 |
transform: translateY(0px) !important;
|
|
|
|
| 606 |
cursor: not-allowed !important;
|
| 607 |
transform: none !important;
|
| 608 |
}
|
| 609 |
+
/* Verify button styling - Inverted MCP theme */
|
| 610 |
#verify-btn {
|
| 611 |
+
background: #000000 !important;
|
| 612 |
+
border: 2px solid #C8DDD7 !important;
|
| 613 |
+
color: #C8DDD7 !important;
|
| 614 |
font-weight: 600 !important;
|
| 615 |
font-size: 16px !important;
|
| 616 |
padding: 12px 24px !important;
|
| 617 |
border-radius: 8px !important;
|
| 618 |
+
box-shadow: 0 3px 10px rgba(200, 221, 215, 0.3) !important;
|
| 619 |
transition: all 0.3s ease !important;
|
| 620 |
}
|
| 621 |
#verify-btn:hover {
|
| 622 |
transform: translateY(-2px) !important;
|
| 623 |
+
box-shadow: 0 5px 15px rgba(200, 221, 215, 0.5) !important;
|
| 624 |
+
background: #1a1a1a !important;
|
| 625 |
+
border-color: #D8EDE7 !important;
|
| 626 |
}
|
| 627 |
"""
|
| 628 |
|