Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Pendrokar
/
DeepMoji
like
5
Running
App
Files
Files
Community
2
d06fa9d
DeepMoji
/
tests
/
test_helper.py
Pendrokar
torchmoji code
86a83a2
10 months ago
raw
Copy download link
history
blame
Safe
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__))))