Spaces:
Sleeping
Sleeping
capradeepgujaran
commited on
Commit
•
56b1a6d
1
Parent(s):
a3b6a5f
Update app.py
Browse files
app.py
CHANGED
@@ -502,10 +502,11 @@ def create_quiz_interface():
|
|
502 |
return None
|
503 |
|
504 |
# Certificate generation event handler
|
|
|
505 |
score_display.change(
|
506 |
fn=generate_certificate,
|
507 |
inputs=[score_display, name, course_name, company_logo, participant_photo],
|
508 |
-
outputs=
|
509 |
)
|
510 |
return demo
|
511 |
|
|
|
502 |
return None
|
503 |
|
504 |
# Certificate generation event handler
|
505 |
+
|
506 |
score_display.change(
|
507 |
fn=generate_certificate,
|
508 |
inputs=[score_display, name, course_name, company_logo, participant_photo],
|
509 |
+
outputs=certificate_display
|
510 |
)
|
511 |
return demo
|
512 |
|