ThomasSimonini HF staff commited on
Commit
d65db94
·
1 Parent(s): 4b15757

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -323,8 +323,7 @@ def verify_certification(df, hf_username, first_name, last_name):
323
 
324
  else:
325
  # Not pass yet
326
- certificate = Image.new("RGB", (100, 100), (255, 255, 255))
327
- certificate, pdf = generate_certificate(certificate.filename, first_name, last_name)
328
 
329
  # Add a message
330
  message = """
 
323
 
324
  else:
325
  # Not pass yet
326
+ certificate, pdf = generate_certificate(Image.new("RGB", (100, 100), (255, 255, 255)), first_name, last_name)
 
327
 
328
  # Add a message
329
  message = """