Jaward commited on
Commit
ff0b57d
·
verified ·
1 Parent(s): 8db9158

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def create_slides(slides: list[dict], title: str, output_dir: str = OUTPUT_DIR)
117
 
118
  # Replace placeholders in the template
119
  slide_html = template_content.replace("<!--SLIDE_NUMBER-->", str(slide_number))
120
- slide_html = slide_html.replace("section title", f"Slide {slide_number}, {slide['title']}")
121
  slide_html = slide_html.replace("Lecture title", title)
122
  slide_html = slide_html.replace("<!--CONTENT-->", html_content)
123
  slide_html = slide_html.replace("speaker name", "Prof. AI Feynman")
 
117
 
118
  # Replace placeholders in the template
119
  slide_html = template_content.replace("<!--SLIDE_NUMBER-->", str(slide_number))
120
+ slide_html = slide_html.replace("section title", f"{slide['title']}")
121
  slide_html = slide_html.replace("Lecture title", title)
122
  slide_html = slide_html.replace("<!--CONTENT-->", html_content)
123
  slide_html = slide_html.replace("speaker name", "Prof. AI Feynman")