~/Doc/p/machine-translator on main ?1 python main.py ✔ machine-translator 2.6.3 at 16:14:49
✅ LOADING TOKENIZERS
✅ LOADING TOKENIZERS DONE!
✅ LOADING TRANSLATION MODELS
Traceback (most recent call last):
File "/Users/manolo/Documents/python/machine-translator/main.py", line 22, in <module>
from resolvers.mutations import mutation
File "/Users/manolo/Documents/python/machine-translator/resolvers/mutations/__init__.py", line 2, in <module>
from translation import getFunctionParams, translate_sentence, EOS_TOKEN, UNK_TOKEN, device, meta
File "/Users/manolo/Documents/python/machine-translator/translation/__init__.py", line 88, in <module>
DE_DE_DICT, DE_EN_DICT = createDictMappings('eng-deu')
File "/Users/manolo/Documents/python/machine-translator/translation/__init__.py", line 59, in createDictMappings
with open(src_json_path, 'r') as src, open(trg_json_path, 'r') as trg:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/manolo/Documents/python/machine-translator/translation/models/eng-deu/static/src_vocab.json'