youngtsai commited on
Commit
9b769a8
1 Parent(s): b6d28cd
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def format_transcript_to_html(formatted_transcript):
111
  for entry in formatted_transcript:
112
  html_content += f"<h3>{entry['start_time']} - {entry['end_time']}</h3>"
113
  html_content += f"<p>{entry['text']}</p>"
114
- html_content += f"<img src='{entry['image_path']}' width='500px' />"
115
  return html_content
116
 
117
  def get_embedded_youtube_link(video_id, start_time):
 
111
  for entry in formatted_transcript:
112
  html_content += f"<h3>{entry['start_time']} - {entry['end_time']}</h3>"
113
  html_content += f"<p>{entry['text']}</p>"
114
+ html_content += f"<img src='{entry['screenshot_path']}' width='500px' />"
115
  return html_content
116
 
117
  def get_embedded_youtube_link(video_id, start_time):