mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-02-17 14:14:48 +08:00
优化导包路径
This commit is contained in:
@@ -4,7 +4,8 @@ from pathlib import Path
|
||||
import threading
|
||||
import cv2
|
||||
import sys
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
import importlib
|
||||
import numpy as np
|
||||
from tqdm import tqdm
|
||||
|
||||
Reference in New Issue
Block a user