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