AriNubar commited on
Commit
77ff6b4
·
verified ·
1 Parent(s): e3d23c6

Update translation.py

Browse files
Files changed (1) hide show
  1. translation.py +1 -1
translation.py CHANGED
@@ -179,7 +179,7 @@ class Translator:
179
 
180
 
181
  num_batches = len(sentences) // self.BATCH_SIZE
182
- if len(sentences) % BATCH_SIZE != 0:
183
  num_batches += 1
184
 
185
  results = []
 
179
 
180
 
181
  num_batches = len(sentences) // self.BATCH_SIZE
182
+ if len(sentences) % self.BATCH_SIZE != 0:
183
  num_batches += 1
184
 
185
  results = []