DisVoice icon indicating copy to clipboard operation
DisVoice copied to clipboard

import error when working directory has user utils.py

Open amr-lopezjos opened this issue 1 year ago • 0 comments

If your working directory has a file named utils.py, the following line will fail:

from disvoice.glottal import Glottal

because the top of Glottal.py imports from utils.py:

from utils import dynamic2static, get_dict, save_dict_kaldimat

and this tries to import from the user utils.py.

amr-lopezjos avatar Aug 16 '24 19:08 amr-lopezjos