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

oh a second update...

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[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]] = "translator"
95
  ) -> Tuple[str, str]:
96
  """
97
  Initialise le mode de traitement pour la traduction si nécessaire.