ipvikas commited on
Commit
f6865a1
1 Parent(s): ddf8f9d

Update Text_Script_from_YouTube.py

Browse files
Files changed (1) hide show
  1. Text_Script_from_YouTube.py +3 -3
Text_Script_from_YouTube.py CHANGED
@@ -33,11 +33,11 @@ def TextScript_demo(input_text):
33
  end = (i + 1) * 1000
34
  #print("input text \n" + result[start:end])
35
  out = summarizer(result[start:end])
36
- out = out[0]
37
- out = out['summary_text']
38
  #print("Summarized text\n"+out)
39
  #summarized_text.append(out)
40
- return summarized_text.append(out)
41
 
42
 
43
  title ='Text Script Generation from YouTube Link'
 
33
  end = (i + 1) * 1000
34
  #print("input text \n" + result[start:end])
35
  out = summarizer(result[start:end])
36
+ #out = out[0]
37
+ #out = out['summary_text']
38
  #print("Summarized text\n"+out)
39
  #summarized_text.append(out)
40
+ return out
41
 
42
 
43
  title ='Text Script Generation from YouTube Link'