Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -602,30 +602,30 @@ def create_app():
|
|
| 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(
|
| 613 |
-
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
|
| 621 |
-
|
| 622 |
-
|
| 623 |
-
<
|
| 624 |
-
|
| 625 |
-
|
| 626 |
-
|
| 627 |
-
|
| 628 |
-
|
| 629 |
|
| 630 |
with gr.Row():
|
| 631 |
# Left Panel - Controls
|
|
|
|
| 602 |
margin-top: 20px;
|
| 603 |
}
|
| 604 |
/* Logo */
|
| 605 |
+
#logo-img img {
|
| 606 |
max-height: 70px;
|
| 607 |
width: auto;
|
| 608 |
border-radius: 8px;
|
| 609 |
}
|
| 610 |
"""
|
| 611 |
|
| 612 |
+
with gr.Blocks(title="CCC Plus Quiz App", css=custom_css, theme=gr.themes.Soft()) as app:
|
| 613 |
+
with gr.Row(elem_classes="quiz-header"):
|
| 614 |
+
with gr.Column(scale=1):
|
| 615 |
+
logo_img = gr.Image(
|
| 616 |
+
value="nielit_logo.png" if os.path.exists("nielit_logo.png") else None,
|
| 617 |
+
elem_id="logo-img",
|
| 618 |
+
interactive=False,
|
| 619 |
+
show_label=False
|
| 620 |
+
)
|
| 621 |
+
with gr.Column(scale=6):
|
| 622 |
+
gr.HTML("""
|
| 623 |
+
<div class="quiz-header-text">
|
| 624 |
+
<h1>🖥️ CCC Plus Quiz App</h1>
|
| 625 |
+
<p>Computer Concepts Plus - Interactive Quiz Platform</p>
|
| 626 |
+
<p>NIELIT Chandigarh • National Institute of Electronics & Information Technology</p>
|
| 627 |
+
</div>
|
| 628 |
+
""")
|
| 629 |
|
| 630 |
with gr.Row():
|
| 631 |
# Left Panel - Controls
|