EdenSw commited on
Commit
0d0c012
·
1 Parent(s): 50498d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,12 +9,12 @@ def vid2aud(video_file):
9
  return "converted_Audio.mp3"
10
 
11
 
12
- def Vid2Summary(vid_file):
13
  audio = vid2aud(vid_file)
14
  text = aud2text(audio)
15
  print(Summarize(text["text"]))
16
 
17
 
18
- iface=gr.interface(fn=Vid2Summary, inputs="mp4", outputs='text')
19
  iface.launch()
20
 
 
9
  return "converted_Audio.mp3"
10
 
11
 
12
+ def Vid2Sum(vid_file):
13
  audio = vid2aud(vid_file)
14
  text = aud2text(audio)
15
  print(Summarize(text["text"]))
16
 
17
 
18
+ iface=gr.interface(fn=Vid2Sum, inputs="mp4", outputs='text')
19
  iface.launch()
20