mikemoz commited on
Commit
c9c6252
1 Parent(s): 95c8592

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(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]))
29
  timestamp = lines[1]
30
  timestamp_start, timestamp_end = timestamp.split(" --> ")
31
  transcript = ' '.join(lines[2:])