Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
24dbcca
1
Parent(s):
0d4ffb3
Update app.py
Browse files
app.py
CHANGED
@@ -346,7 +346,7 @@ def generate_certificate(certificate_model, first_name, last_name):
|
|
346 |
|
347 |
|
348 |
pdf = im.convert('RGB')
|
349 |
-
test = pdf.save('certificate.pdf')
|
350 |
print("PDF: ", test)
|
351 |
|
352 |
# rgba = im
|
|
|
346 |
|
347 |
|
348 |
pdf = im.convert('RGB')
|
349 |
+
test = pdf.save('certificate.pdf').filename
|
350 |
print("PDF: ", test)
|
351 |
|
352 |
# rgba = im
|