Neprox commited on
Commit
3b7997e
·
1 Parent(s): 8f1f85c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def transcribe(audio, url):
49
  fpath = download_from_youtube(url)
50
  segment_paths, segment_start_times = divide_into_30s_segments(fpath)
51
 
52
- audio_dataset = Dataset.from_dict({"audio": audio_segment_paths}).cast_column("audio", Audio())
53
  print(audio_dataset)
54
  text = pipe(audio_dataset)
55
  print(type(text))
 
49
  fpath = download_from_youtube(url)
50
  segment_paths, segment_start_times = divide_into_30s_segments(fpath)
51
 
52
+ audio_dataset = Dataset.from_dict({"audio": segment_paths}).cast_column("audio", Audio())
53
  print(audio_dataset)
54
  text = pipe(audio_dataset)
55
  print(type(text))