rick commited on
Commit
b1de12a
·
unverified ·
1 Parent(s): 25ff567

oh uhhh a update..again...

Browse files
Files changed (1) hide show
  1. core/core.py +1 -1
core/core.py CHANGED
@@ -91,7 +91,7 @@ def set_translation_mode(from_lang: str, dest_lang: str) -> Tuple[str, str]:
91
  def init_process_mode(
92
  from_lang: str,
93
  to_lang: str,
94
- process_mode: Optional[Union[str|list]] = "translator"
95
  ) -> Tuple[str, str]:
96
  """
97
  Initialise le mode de traitement pour la traduction si nécessaire.
 
91
  def init_process_mode(
92
  from_lang: str,
93
  to_lang: str,
94
+ process_mode: Optional[ Union[str, List[str]]] = "translator"
95
  ) -> Tuple[str, str]:
96
  """
97
  Initialise le mode de traitement pour la traduction si nécessaire.