# Re-generate the PDF and save it to a downloadable path for the user
pdf = PDF()
pdf.add_page()
# Add sections again
for title_ar, title_fr, items in sections:
pdf.chapter_title(title_ar, title_fr)
pdf.chapter_body(items)
pdf.ln(4)
# Save PDF to a shareable location
pdf_path = "/mnt/data/قائمة_تقني_الصوت_مهرجان_خارجي.pdf"
pdf.output(pdf_path)
pdf_path