eusholli commited on
Commit
884e17d
·
1 Parent(s): dbe8868

fix line break error

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -90,8 +90,10 @@ def print_segment(speaker, company, timestamp, text):
90
  def create_searchable_segments(parsed_segments):
91
  searchable_segments = []
92
  for segment in parsed_segments:
93
- searchable_text = f"{segment['speaker']},{segment['company']},\
94
- {segment['timestamp']}:: {segment['text']}"
 
 
95
  searchable_segments.append(searchable_text)
96
  return searchable_segments
97
 
 
90
  def create_searchable_segments(parsed_segments):
91
  searchable_segments = []
92
  for segment in parsed_segments:
93
+ searchable_text = (
94
+ f"{segment['speaker']},{segment['company']},"
95
+ f"{segment['timestamp']}:: {segment['text']}"
96
+ )
97
  searchable_segments.append(searchable_text)
98
  return searchable_segments
99