Mihaj commited on
Commit
aa3d808
·
verified ·
1 Parent(s): dab09e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -52,7 +52,6 @@ def count_char_borders(predicted_ids, input_values, processor, sample_rate=16000
52
  def preprocess(chars, starts, labelled='cv'):
53
  start_and_sound = []
54
  # берём из seg-файла метки звуков, отсчёты переводим в секунды, получаем общую длительность
55
- for e in info:
56
  for i, item in enumerate(chars):
57
  clean_e = e.strip()
58
  start_time = float(starts[i])
 
52
  def preprocess(chars, starts, labelled='cv'):
53
  start_and_sound = []
54
  # берём из seg-файла метки звуков, отсчёты переводим в секунды, получаем общую длительность
 
55
  for i, item in enumerate(chars):
56
  clean_e = e.strip()
57
  start_time = float(starts[i])