Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def create_presentation(title_slide_info, sections):
|
|
| 37 |
|
| 38 |
# Add content slides based on sections and subsections
|
| 39 |
for section_title, section_info in sections.items():
|
| 40 |
-
for subsection_title, bullet_points in section_info
|
| 41 |
slide_layout = prs.slide_layouts[1]
|
| 42 |
slide = prs.slides.add_slide(slide_layout)
|
| 43 |
title_placeholder = slide.shapes.title
|
|
|
|
| 37 |
|
| 38 |
# Add content slides based on sections and subsections
|
| 39 |
for section_title, section_info in sections.items():
|
| 40 |
+
for subsection_title, bullet_points in section_info.items():
|
| 41 |
slide_layout = prs.slide_layouts[1]
|
| 42 |
slide = prs.slides.add_slide(slide_layout)
|
| 43 |
title_placeholder = slide.shapes.title
|