Commit
·
10c2ef4
1
Parent(s):
d573abb
Update app.py
Browse files
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
|
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
|