capradeepgujaran commited on
Commit
65b80b0
·
verified ·
1 Parent(s): 46ca1dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -191,12 +191,6 @@ def create_quiz_interface():
191
  outputs=tabs
192
  )
193
 
194
- def generate_certificate(score, user_name, course, logo, photo):
195
- if score >= 80:
196
- # Certificate generation code here (same as before)
197
- return "Certificate generated!"
198
- return None
199
-
200
  def generate_certificate(score, name, course_name, company_logo=None, participant_photo=None):
201
  """
202
  Generate a certificate with custom styling and optional logo/photo
 
191
  outputs=tabs
192
  )
193
 
 
 
 
 
 
 
194
  def generate_certificate(score, name, course_name, company_logo=None, participant_photo=None):
195
  """
196
  Generate a certificate with custom styling and optional logo/photo