wldmr commited on
Commit
e81d911
1 Parent(s): 11a46c7
Files changed (1) hide show
  1. summarizer.py +1 -1
summarizer.py CHANGED
@@ -78,11 +78,11 @@ def getSummary(link, lexrank_switch, rpunkt_switch):
78
  if len(link) == 0:
79
  return 'Error: no link provided'
80
 
81
- print('getting transcript using link: ', link)
82
  video_id = ts.get_id_from_link(link)
83
  if 'Error' in video_id:
84
  return video_id
85
 
 
86
  raw_transcript, type_transcript = ts.get_json_transcript(video_id,rpunkt_switch)
87
  print('transcript type: ', type_transcript)
88
  #timestamps = ts.get_timestamps(raw_transcript)
 
78
  if len(link) == 0:
79
  return 'Error: no link provided'
80
 
 
81
  video_id = ts.get_id_from_link(link)
82
  if 'Error' in video_id:
83
  return video_id
84
 
85
+ print('getting transcript using video_id: ', video_id, rpunkt_switch)
86
  raw_transcript, type_transcript = ts.get_json_transcript(video_id,rpunkt_switch)
87
  print('transcript type: ', type_transcript)
88
  #timestamps = ts.get_timestamps(raw_transcript)