Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = {
|