zhangyong 9 months ago
parent
commit
532235d742
1 changed files with 3 additions and 0 deletions
  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