owaski commited on
Commit
59c6368
·
1 Parent(s): 766a3e3

fix fairseq bug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ os.system('mv -n mRASP2/* ./')
25
  os.system("rm -rf mRASP2")
26
  os.system("pip install -r requirements.txt")
27
  os.system("git clone https://github.com/pytorch/fairseq")
28
- os.system("pip install --editable ./fairseq/")
29
 
30
  model_name = "6e6d_no_mono.pt"
31
  os.system("wget https://lf3-nlp-opensource.bytetos.com/obj/nlp-opensource/acl2021/mrasp2/" + model_name)
 
25
  os.system("rm -rf mRASP2")
26
  os.system("pip install -r requirements.txt")
27
  os.system("git clone https://github.com/pytorch/fairseq")
28
+ os.system("cd fairseq; pip install ./; cd ..")
29
 
30
  model_name = "6e6d_no_mono.pt"
31
  os.system("wget https://lf3-nlp-opensource.bytetos.com/obj/nlp-opensource/acl2021/mrasp2/" + model_name)