ayaanzaveri commited on
Commit
5ae2523
1 Parent(s): 3d16b72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -51,8 +51,6 @@ def transcribe_video(video_url: str, beam_size: int = 5, model_size: str = "tiny
51
  print("doing transcribe")
52
  segments, info = model.transcribe(f"{rand_id}.mp3", beam_size=beam_size, word_timestamps=word_timestamps)
53
  print(info)
54
- for segment in segments:
55
- print(segment)
56
  segments = [segment_to_dict(segment) for segment in segments]
57
  total_duration = round(info.duration, 2) # Same precision as the Whisper timestamps.
58
  print(info)
 
51
  print("doing transcribe")
52
  segments, info = model.transcribe(f"{rand_id}.mp3", beam_size=beam_size, word_timestamps=word_timestamps)
53
  print(info)
 
 
54
  segments = [segment_to_dict(segment) for segment in segments]
55
  total_duration = round(info.duration, 2) # Same precision as the Whisper timestamps.
56
  print(info)