Tools / translation /__init__.py
ZackBradshaw's picture
Upload folder using huggingface_hub
e67043b verified
raw
history blame
246 Bytes
from ..registry import register
@register("nllb-translation")
def translator():
from .nllb import build_tool
return build_tool
@register("baidu-translation")
def translator():
from .baidu import build_tool
return build_tool