EdenSw commited on
Commit
8aa90ee
·
1 Parent(s): 9bd865e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -8,13 +8,8 @@ def vid2aud(video_file):
8
  return "converted_Audio.mp3"
9
 
10
 
11
- def main():
12
- video = "TestVid1.mp4"
13
- audio = vid2aud(video)
14
  text = aud2text(audio)
15
- # textfl = checkText(text["text"])
16
- summary = Summarize(text["text"])
17
- print(summary)
18
 
19
-
20
- main()
 
8
  return "converted_Audio.mp3"
9
 
10
 
11
+ def Vid2Sum(vid_file):
12
+ audio = vid2aud(vid_file)
 
13
  text = aud2text(audio)
14
+ print(Summarize(text["text"]))
 
 
15