Spaces:
Runtime error
Runtime error
Update app.py
Browse files134 unmodified lines135136137138139140134 unmodified linesp = tf.add_paragraph()p.text = summary[0]['summary_text']p.space_before = Pt(12) # Espace avant le paragraphe (12 points)p.space_after = Pt(12) # Espace après le paragraphe (12 points)p.alignment = PP_ALIGN.CENTER # Centrez le texte horizontalement134 unmodified lines135136137138139140141142143144134 unmodified linesp = tf.add_paragraph()p.text = summary[0]['summary_text']# Ajustez la taille de police pour le texte afin qu'il rentre dans le cadre de textewhile p.space_after > Pt(0):p.font.size -= Pt(1) # Réduisez la taille de police de 1 pointp.space_before = Pt(12) # Espace avant le paragraphe (12 points)p.space_after = Pt(12) # Espace après le paragraphe (12 points)p.alignment = PP_ALIGN.CENTER # Centrez le texte horizontalement
app.py+4