Flo161 commited on
Commit
e057040
·
1 Parent(s): e7a58c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ if uploaded_file is not None:
119
  p.text = summary[0]['summary_text']
120
 
121
  p.space_after = Pt(0) # Initialize space_after
122
- while p.space_after < Pt(12):
123
  p.font.size -= Pt(1) # Reduce the font size by 1 point
124
  p.space_after = Pt(12) # Set space_after to 12 points again
125
 
 
119
  p.text = summary[0]['summary_text']
120
 
121
  p.space_after = Pt(0) # Initialize space_after
122
+ while p.space_after is None or p.space_after < Pt(12):
123
  p.font.size -= Pt(1) # Reduce the font size by 1 point
124
  p.space_after = Pt(12) # Set space_after to 12 points again
125