Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,9 @@ def vid2aud(video_file):
|
|
12 |
def Vid2Sum(vid_file):
|
13 |
audio = vid2aud(vid_file)
|
14 |
text = aud2text(audio)
|
15 |
-
|
16 |
-
|
17 |
|
18 |
-
iface=gr.interface(fn=Vid2Sum, inputs="mp4",
|
19 |
iface.launch()
|
20 |
|
|
|
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 |
|