ThomasSimonini HF staff commited on
Commit
24dbcca
·
1 Parent(s): 0d4ffb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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