Yehor commited on
Commit
fd43cb3
·
verified ·
1 Parent(s): e534ea9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -263,7 +263,7 @@ def text_to_kenlm(
263
 
264
  # Commands to run in the container
265
  cmd = (
266
- f"{kenlm_bin}/lmplz --temp_prefix {app_dir} --memory 90% --text {intermediate_file} --arpa /tmp/my_model.arpa -o {_order} --prune {_arpa_prune} --discount_fallback",
267
  )
268
  print(subprocess.run(cmd, shell=True))
269
 
 
263
 
264
  # Commands to run in the container
265
  cmd = (
266
+ f"{kenlm_bin}/lmplz --temp_prefix /tmp --memory 90% --text {intermediate_file} --arpa /tmp/my_model.arpa -o {_order} --prune {_arpa_prune} --discount_fallback",
267
  )
268
  print(subprocess.run(cmd, shell=True))
269