diff --git a/pytext/utils/file_io.py b/pytext/utils/file_io.py index f6b72bcb4..6ef29e7d1 100644 --- a/pytext/utils/file_io.py +++ b/pytext/utils/file_io.py @@ -9,7 +9,7 @@ # the import everywhere in PyText # TODO: @stevenliu use PathManagerFactory after it's released to PyPI from iopath.common.file_io import HTTPURLHandler -from torchtext.utils import PATH_MANAGER as PathManager # noqa +from pytorch.text.fb.utils import PATH_MANAGER as PathManager # noqa def register_http_url_handler():