Spaces:
Runtime error
Runtime error
import sys | |
import os | |
current_dir = os.path.dirname(os.path.realpath(__file__)) | |
pardir = os.path.dirname(current_dir) | |
for d in [pardir, current_dir, os.path.join(pardir, "lib/fish_eye/"), os.path.join(pardir, "lib/"), os.path.join(pardir, "lib/yolov5/")]: | |
if d not in sys.path: | |
sys.path.append(d) |