Spaces:
Build error
Build error
import os | |
import sys | |
current_dir = os.path.dirname(os.path.abspath(__file__)) | |
root_dir = os.path.abspath(os.path.join(current_dir, '..')) | |
if root_dir not in sys.path: | |
sys.path.insert(0, root_dir) |