Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import gradio as gr
|
|
| 2 |
from API import aud2text, Summarize
|
| 3 |
from moviepy.editor import *
|
| 4 |
|
|
|
|
| 5 |
def Vid2Sum(vid_file):
|
| 6 |
#video = VideoFileClip(vid_file)
|
| 7 |
#audio_file = "converted_audio.mp3"
|
|
@@ -10,6 +11,7 @@ def Vid2Sum(vid_file):
|
|
| 10 |
#text = aud2text(audio_file)
|
| 11 |
#sum_text=Summarize(text["text"])
|
| 12 |
return ("Aloonnn")
|
|
|
|
| 13 |
|
| 14 |
# return sum_text[0]["summary_text"]
|
| 15 |
|
|
|
|
| 2 |
from API import aud2text, Summarize
|
| 3 |
from moviepy.editor import *
|
| 4 |
|
| 5 |
+
|
| 6 |
def Vid2Sum(vid_file):
|
| 7 |
#video = VideoFileClip(vid_file)
|
| 8 |
#audio_file = "converted_audio.mp3"
|
|
|
|
| 11 |
#text = aud2text(audio_file)
|
| 12 |
#sum_text=Summarize(text["text"])
|
| 13 |
return ("Aloonnn")
|
| 14 |
+
print("Balloonn")
|
| 15 |
|
| 16 |
# return sum_text[0]["summary_text"]
|
| 17 |
|