Update server.py
Browse files
server.py
CHANGED
|
@@ -12,7 +12,7 @@ def predict():
|
|
| 12 |
|
| 13 |
video_file = request.files['video']
|
| 14 |
# Perform video-to-text conversion using your existing code
|
| 15 |
-
text_output =
|
| 16 |
|
| 17 |
return jsonify({'text': text_output})
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
video_file = request.files['video']
|
| 14 |
# Perform video-to-text conversion using your existing code
|
| 15 |
+
text_output = Vid2Sum(video_file)
|
| 16 |
|
| 17 |
return jsonify({'text': text_output})
|
| 18 |
|