mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-02 09:30:24 +00:00
10 lines
237 B
Python
10 lines
237 B
Python
from .base_translator import Base
|
|
|
|
|
|
class DeepL(Base):
|
|
def __init__(self, session, key, api_base=None):
|
|
super().__init__(session, key, api_base=api_base)
|
|
|
|
def translate(self, text):
|
|
return super().translate(text)
|