mikemoz commited on
Commit
1099d8a
1 Parent(s): c9c6252

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def process_srt(file_path, podcast_name, podcast_episode):
25
 
26
  for entry in entries:
27
  lines = entry.split('\n')
28
- id = int(float(lines[0]))
29
  timestamp = lines[1]
30
  timestamp_start, timestamp_end = timestamp.split(" --> ")
31
  transcript = ' '.join(lines[2:])
 
25
 
26
  for entry in entries:
27
  lines = entry.split('\n')
28
+ id = int(float(lines[0].replace('\ufeff', '').strip()))
29
  timestamp = lines[1]
30
  timestamp_start, timestamp_end = timestamp.split(" --> ")
31
  transcript = ' '.join(lines[2:])