Mgolo commited on
Commit
bd386d7
·
verified ·
1 Parent(s): 89263ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def translate(text, target_lang):
72
  "Darija (Morocco)": ">>dar<<",
73
  "Hausa (Nigeria)": ">>hau<<",
74
  "Wolof (Senegal)": ">>wol<<"
75
- }[target_lang]
76
 
77
  paragraphs = text.split("\n")
78
  translated_output = []
 
72
  "Darija (Morocco)": ">>dar<<",
73
  "Hausa (Nigeria)": ">>hau<<",
74
  "Wolof (Senegal)": ">>wol<<"
75
+ }
76
 
77
  paragraphs = text.split("\n")
78
  translated_output = []