artificialguybr commited on
Commit
4f69071
1 Parent(s): ed9d55f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def word_to_pdf(docx_file):
35
  pdf = FPDF(format='A4')
36
  pdf.set_auto_page_break(auto=True, margin=15)
37
  pdf.add_page()
38
- pdf.add_font('Arial', '', 'arial.ttf', uni=True)
39
  pdf.set_font('Arial', size=12)
40
 
41
  for para in doc.paragraphs:
 
35
  pdf = FPDF(format='A4')
36
  pdf.set_auto_page_break(auto=True, margin=15)
37
  pdf.add_page()
38
+ pdf.add_font('Arial', '', 'Arial.ttf', uni=True)
39
  pdf.set_font('Arial', size=12)
40
 
41
  for para in doc.paragraphs: