yannESGI commited on
Commit
88a80ef
·
1 Parent(s): a0cb5cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -138,6 +138,10 @@ if uploaded_file is not None:
138
  p.space_before = Pt(12) # Espace avant le paragraphe (12 points)
139
  p.space_after = Pt(12) # Espace après le paragraphe (12 points)
140
  p.alignment = PP_ALIGN.CENTER # Centrez le texte horizontalement
 
 
 
 
141
 
142
  # st.image(image)
143
 
 
138
  p.space_before = Pt(12) # Espace avant le paragraphe (12 points)
139
  p.space_after = Pt(12) # Espace après le paragraphe (12 points)
140
  p.alignment = PP_ALIGN.CENTER # Centrez le texte horizontalement
141
+
142
+ # Ajustez la largeur du cadre de texte du texte pour éviter le dépassement
143
+ text_frame_width = text_width - Inches(0.3) # Réduisez la largeur de 0.1 pouce de chaque côté
144
+ txBox.width = text_frame_width
145
 
146
  # st.image(image)
147