Samarth991 commited on
Commit
34a1486
·
verified ·
1 Parent(s): 936a057

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def get_text_from_youtube_link(video_link,max_video_length=800):
41
  print(video_text)
42
  return video_text[0:max_video_length]
43
  else:
44
- print(video_text)
45
  return video_text
46
 
47
  def process_documents(documents,data_chunk=1500,chunk_overlap=100):
 
41
  print(video_text)
42
  return video_text[0:max_video_length]
43
  else:
44
+ print("SRT might be disabled for the video . Uunable to get SRT")
45
  return video_text
46
 
47
  def process_documents(documents,data_chunk=1500,chunk_overlap=100):