Spaces:
Sleeping
Sleeping
capradeepgujaran
commited on
Commit
•
072d6f1
1
Parent(s):
1a42569
Update app.py
Browse files
app.py
CHANGED
@@ -547,7 +547,7 @@ def create_quiz_interface():
|
|
547 |
|
548 |
with gr.Tabs() as tabs:
|
549 |
# Profile Setup Tab
|
550 |
-
with gr.Tab(id=1,"📋 Step 1: Profile Setup"):
|
551 |
with gr.Row():
|
552 |
name = gr.Textbox(label="Full Name", placeholder="Enter your full name")
|
553 |
email = gr.Textbox(label="Email", placeholder="Enter your email")
|
@@ -573,7 +573,7 @@ def create_quiz_interface():
|
|
573 |
generate_btn = gr.Button("Generate Assessment", variant="primary", size="lg")
|
574 |
|
575 |
# Assessment Tab
|
576 |
-
with gr.Tab(id=2,"📝 Step 2: Take Assessment") as assessment_tab:
|
577 |
with gr.Column(visible=True) as question_box:
|
578 |
# Question section
|
579 |
with gr.Group():
|
@@ -625,7 +625,7 @@ def create_quiz_interface():
|
|
625 |
)
|
626 |
|
627 |
# Certification Tab
|
628 |
-
with gr.Tab(id=3,"🎓 Step 3: Get Certified"):
|
629 |
score_display = gr.Number(label="Your Score")
|
630 |
result_message = gr.Markdown("")
|
631 |
course_name = gr.Textbox(
|
|
|
547 |
|
548 |
with gr.Tabs() as tabs:
|
549 |
# Profile Setup Tab
|
550 |
+
with gr.Tab(id=1,label="📋 Step 1: Profile Setup"):
|
551 |
with gr.Row():
|
552 |
name = gr.Textbox(label="Full Name", placeholder="Enter your full name")
|
553 |
email = gr.Textbox(label="Email", placeholder="Enter your email")
|
|
|
573 |
generate_btn = gr.Button("Generate Assessment", variant="primary", size="lg")
|
574 |
|
575 |
# Assessment Tab
|
576 |
+
with gr.Tab(id=2,label="📝 Step 2: Take Assessment") as assessment_tab:
|
577 |
with gr.Column(visible=True) as question_box:
|
578 |
# Question section
|
579 |
with gr.Group():
|
|
|
625 |
)
|
626 |
|
627 |
# Certification Tab
|
628 |
+
with gr.Tab(id=3,label="🎓 Step 3: Get Certified"):
|
629 |
score_display = gr.Number(label="Your Score")
|
630 |
result_message = gr.Markdown("")
|
631 |
course_name = gr.Textbox(
|