Spaces:
Paused
Paused
rick
commited on
oh uhhh a update..again...
Browse files- 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
|
| 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.
|