ambreshrc commited on
Commit
4f2119e
1 Parent(s): 4cd28f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def btTranslator(docxfile):
60
  model = AutoModelForSeq2SeqLM.from_pretrained(lang)
61
  model.to(device)
62
  lt = LineTokenizer()
63
- batch_size = 8
64
  paragraphs = lt.tokenize(bigtext)
65
  translated_paragraphs = []
66
 
 
60
  model = AutoModelForSeq2SeqLM.from_pretrained(lang)
61
  model.to(device)
62
  lt = LineTokenizer()
63
+ batch_size = 64
64
  paragraphs = lt.tokenize(bigtext)
65
  translated_paragraphs = []
66