someshb07 commited on
Commit
a2ce451
·
verified ·
1 Parent(s): 0775f95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ pipe = pipeline("summarization", model="Falconsai/text_summarization", device=-1
10
  def chunk_length(text, max_length = 1024):
11
  words = text.split()
12
  for i in range(0, len(words), max_length):
13
- yield " ".join(words[i:i + max_length])
14
 
15
  def extract_youtube_id(url):
16
  """
 
10
  def chunk_length(text, max_length = 1024):
11
  words = text.split()
12
  for i in range(0, len(words), max_length):
13
+ yield " ".join(words[i:i + max_length])
14
 
15
  def extract_youtube_id(url):
16
  """