From 65a84bd79ed842985e974974ddf9573135f1e9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=99=A8?= Date: Wed, 22 Feb 2023 18:28:41 +0800 Subject: [PATCH] update --- ieemoo-ai-filtervideo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ieemoo-ai-filtervideo.py b/ieemoo-ai-filtervideo.py index 1deeea1..2ac4dbe 100644 --- a/ieemoo-ai-filtervideo.py +++ b/ieemoo-ai-filtervideo.py @@ -19,6 +19,8 @@ def filtervideo(): #videourls = request.form.get('videoUrls') dicdatas = request.get_json() results = [] + if not os.path.exists('data/'): + os.mkdir('data/') for dicdata in dicdatas: date = datetime.today() videourl = dicdata["videoUrls"]