ThomasSimonini HF staff commited on
Commit
10c2ef4
·
1 Parent(s): d573abb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -323,8 +323,9 @@ def verify_certification(df, hf_username, first_name, last_name):
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 = """
330
  You didn't pass the minimum of 80% of the hands-on to get a certificate of completion. But don't be discouraged! \n
 
323
 
324
  else:
325
  # Not pass yet
326
+ certificate = Image.new("RGB", (100, 100), (255, 255, 255))
327
+ pdf = "./fail.pdf"
328
+
329
  # Add a message
330
  message = """
331
  You didn't pass the minimum of 80% of the hands-on to get a certificate of completion. But don't be discouraged! \n