capradeepgujaran commited on
Commit
b5654be
·
verified ·
1 Parent(s): 1147599

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -10
app.py CHANGED
@@ -607,16 +607,22 @@ def create_quiz_interface():
607
  size="lg"
608
  )
609
 
610
- # Results section
611
- with gr.Group(visible=False) as results_group:
612
- feedback_box = gr.Markdown("")
613
- with gr.Row():
614
- view_cert_btn = gr.Button(
615
- "View Certificate",
616
- variant="primary",
617
- size="lg",
618
- visible=False
619
- )
 
 
 
 
 
 
620
 
621
  # Certification Tab
622
  with gr.Tab("🎓 Step 3: Get Certified"):
 
607
  size="lg"
608
  )
609
 
610
+ # Results section
611
+ with gr.Group(visible=False) as results_group:
612
+ feedback_box = gr.Markdown("")
613
+ with gr.Row():
614
+ view_cert_btn = gr.Button(
615
+ "View Certificate",
616
+ variant="primary",
617
+ size="lg",
618
+ visible=False
619
+ )
620
+ back_to_assessment = gr.Button( # Add this button definition
621
+ "Back to Assessment",
622
+ variant="secondary",
623
+ size="lg",
624
+ visible=True
625
+ )
626
 
627
  # Certification Tab
628
  with gr.Tab("🎓 Step 3: Get Certified"):