diff --git a/backend/src/routers/signvideo.py b/backend/src/routers/signvideo.py index 8cf6849..c38a6f5 100644 --- a/backend/src/routers/signvideo.py +++ b/backend/src/routers/signvideo.py @@ -43,6 +43,9 @@ def convert_video(video_filename): # delete the temporary file os.remove(settings.DATA_PATH + "/" + video_filename + ".test") + # create the thumbnail + extract_thumbnail(settings.DATA_PATH + "/" + video_filename) + # endpoint to upload a file and save it in the data folder @router.post("/", status_code=status.HTTP_201_CREATED, response_model=SignVideoOut)