Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def Vid2Sum(vid_file):
|
|
10 |
|
11 |
text = aud2text(audio_file)
|
12 |
sum_text=Summarize(text["text"])
|
13 |
-
|
14 |
|
15 |
iface = gr.Interface(fn=Vid2Sum, inputs="video", outputs="text")
|
16 |
iface.launch()
|
|
|
10 |
|
11 |
text = aud2text(audio_file)
|
12 |
sum_text=Summarize(text["text"])
|
13 |
+
return sum_text[0]["summary_text"]
|
14 |
|
15 |
iface = gr.Interface(fn=Vid2Sum, inputs="video", outputs="text")
|
16 |
iface.launch()
|