LearningnRunning's picture
FIX model path
a8f267e
raw
history blame
237 Bytes
import os
# 프로젝트 루트 디렉토리 경로 얻기
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# MODEL_PATH를 절대 경로로 설정
MODEL_PATH = os.path.join(BASE_DIR, 'weights', 'yolov9_c_nsfw.pt')