hf-deepmoji / examples /example_helper.py
thomwolf's picture
thomwolf HF staff
Initial commit
cc0b62b
raw history blame
No virus
204 Bytes
""" Module import helper.
Modifies PATH in order to allow us to import the torchmoji directory.
"""
import sys
from os.path import abspath, dirname
sys.path.insert(0, dirname(dirname(abspath(__file__))))