zhangyong 9 月之前
父节点
当前提交
532235d742
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      video_rewriting/video_prep.py

+ 3 - 0
video_rewriting/video_prep.py

@@ -1,11 +1,14 @@
 import configparser
 import os
 import random
+import sys
 import threading
 import time
 
 from datetime import datetime
 import concurrent.futures
+sys.path.append(os.getcwd())
+
 from common import Material, Feishu, Common, Oss
 from common.ffmpeg import FFmpeg
 from common.gpt4o_help import GPT4o