Skip to content

Commit

Permalink
fix missing import download_model
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed May 19, 2023
1 parent 696b6d4 commit ada7dba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hf_hub_ctranslate2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
"""Compatability between Huggingface and Ctranslate2."""
# __all__ = ["__version__", "TranslatorCT2fromHfHub", "GeneratorCT2fromHfHub", "MultiLingualTranslatorCT2fromHfHub", "_private"]
# __all__ = ["__version__", "TranslatorCT2fromHfHub", "GeneratorCT2fromHfHub", "MultiLingualTranslatorCT2fromHfHub"]
from hf_hub_ctranslate2.translate import TranslatorCT2fromHfHub, GeneratorCT2fromHfHub, MultiLingualTranslatorCT2fromHfHub
from hf_hub_ctranslate2.util import _download_model
__version__ = "2.0.7"

0 comments on commit ada7dba

Please sign in to comment.