sudoping01 commited on
Commit
5806da7
·
verified ·
1 Parent(s): 923fe56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ class BambaraTranslator:
8
  "translation",
9
  model=model_name,
10
  max_length=512,
11
- truncation=True
12
  device=-1 # Force CPU
13
  )
14
  self.flores_codes = {
 
8
  "translation",
9
  model=model_name,
10
  max_length=512,
11
+ truncation=True ,
12
  device=-1 # Force CPU
13
  )
14
  self.flores_codes = {