Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -601,6 +601,12 @@ def create_app():
|
|
| 601 |
border: 1px solid #e9ecef;
|
| 602 |
margin-top: 20px;
|
| 603 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 604 |
"""
|
| 605 |
|
| 606 |
with gr.Blocks(
|
|
@@ -610,16 +616,15 @@ def create_app():
|
|
| 610 |
) as app:
|
| 611 |
|
| 612 |
# Header
|
| 613 |
-
gr.HTML("""
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
</p>
|
| 619 |
-
<p
|
| 620 |
-
NIELIT Chandigarh • National Institute of Electronics & Information Technology
|
| 621 |
-
</p>
|
| 622 |
</div>
|
|
|
|
| 623 |
""")
|
| 624 |
|
| 625 |
with gr.Row():
|
|
|
|
| 601 |
border: 1px solid #e9ecef;
|
| 602 |
margin-top: 20px;
|
| 603 |
}
|
| 604 |
+
/* Logo */
|
| 605 |
+
#logo-img {
|
| 606 |
+
max-height: 70px;
|
| 607 |
+
width: auto;
|
| 608 |
+
border-radius: 8px;
|
| 609 |
+
}
|
| 610 |
"""
|
| 611 |
|
| 612 |
with gr.Blocks(
|
|
|
|
| 616 |
) as app:
|
| 617 |
|
| 618 |
# Header
|
| 619 |
+
gr.HTML(f"""
|
| 620 |
+
<div class="quiz-header">
|
| 621 |
+
<img id="logo-img" src="{'nielit_logo.png' if os.path.exists('nielit_logo.png') else ''}" alt="NIELIT Logo" />
|
| 622 |
+
<div class="quiz-header-text">
|
| 623 |
+
<h1>🖥️ CCC Plus Quiz App</h1>
|
| 624 |
+
<p>Computer Concepts Plus - Interactive Quiz Platform</p>
|
| 625 |
+
<p>NIELIT Chandigarh • National Institute of Electronics & Information Technology</p>
|
|
|
|
|
|
|
| 626 |
</div>
|
| 627 |
+
</div>
|
| 628 |
""")
|
| 629 |
|
| 630 |
with gr.Row():
|