Update app.py
Browse files
app.py
CHANGED
|
@@ -12,5 +12,5 @@ def Vid2Sum(vid_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()
|
|
|
|
| 12 |
sum_text=Summarize(text["text"])
|
| 13 |
return sum_text[0]["summary_text"]
|
| 14 |
|
| 15 |
+
iface = gr.Interface(fn=Vid2Sum, inputs="video", outputs="text", preprocess=True)
|
| 16 |
iface.launch()
|