davda54 commited on
Commit
8ae3341
1 Parent(s): 374ff5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def translate(source, source_language, target_language):
120
  # num_beams=4,
121
  # early_stopping=True,
122
  do_sample=False,
123
- #use_cache=True
124
  )
125
  t = Thread(target=generate, args=(model,), kwargs=generate_kwargs)
126
  t.start()
 
120
  # num_beams=4,
121
  # early_stopping=True,
122
  do_sample=False,
123
+ use_cache=True
124
  )
125
  t = Thread(target=generate, args=(model,), kwargs=generate_kwargs)
126
  t.start()