Spaces:
Build error
Build error
Update Text_Script_from_YouTube.py
Browse files
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
|
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'
|