ChiBenevisamPas commited on
Commit
a939c89
·
verified ·
1 Parent(s): 79e74a8

Update Def PDF

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ def write_pdf(transcription, output_file, tokenizer=None, translation_model=None
124
  pdf.add_page()
125
 
126
  # Set up the font for Farsi (Unicode-compliant)
127
- font_path = "/home/user/app/B-NAZANIN.ttf" # Ensure the correct path to the font file
128
  pdf.add_font('B-NAZANIN', '', font_path, uni=True)
129
  pdf.set_font('B-NAZANIN', size=12)
130
 
 
124
  pdf.add_page()
125
 
126
  # Set up the font for Farsi (Unicode-compliant)
127
+ font_path = "/home/user/app/B-NAZANIN.TTF" # Ensure the correct path to the font file
128
  pdf.add_font('B-NAZANIN', '', font_path, uni=True)
129
  pdf.set_font('B-NAZANIN', size=12)
130