Demosthene-OR commited on
Commit
a4b435a
·
1 Parent(s): a3fa356

Update translate_app.py

Browse files
Files changed (1) hide show
  1. translate_app.py +1 -1
translate_app.py CHANGED
@@ -12,7 +12,7 @@ def trad(message, l):
12
 
13
  # Utilisation du module deep_translator
14
  translation = MyMemoryTranslator(
15
- source='fr-FR', target=l, email="o.r@exemple.com").translate(message.replace(" \n", "§§§"))
16
  translation = translation.replace(
17
  "§§§", " \n") # .replace(" ","<br>")
18
 
 
12
 
13
  # Utilisation du module deep_translator
14
  translation = MyMemoryTranslator(
15
+ source='fr-FR', target=l, email="o.r@exemple.com").translate(text=message.replace(" \n", "§§§"))
16
  translation = translation.replace(
17
  "§§§", " \n") # .replace(" ","<br>")
18