abenkbp commited on
Commit
8eadf53
·
1 Parent(s): 4557d1b
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -8,9 +8,7 @@ from huggingface_hub import InferenceClient, login
8
 
9
  subprocess.call(["pip","install","--upgrade","pip"])
10
  subprocess.call("curl -o- file:///home/user/app/data/setup.sh | bash", shell=True, executable='/bin/bash')
11
- subprocess.call("source /home/user/.bashrc", shell=True, executable='/bin/bash')
12
- subprocess.call("/home/user/.nvm/nvm install lts/iron", shell=True, executable='/bin/bash')
13
- subprocess.call("npm update -g npm", shell=True, executable='/bin/bash')
14
 
15
  # Get the API key from environment variables
16
  key = "UCODE_SECRET"
 
8
 
9
  subprocess.call(["pip","install","--upgrade","pip"])
10
  subprocess.call("curl -o- file:///home/user/app/data/setup.sh | bash", shell=True, executable='/bin/bash')
11
+ subprocess.call("bash /home/user/app/data/compile.sh", shell=True, executable='/bin/bash')
 
 
12
 
13
  # Get the API key from environment variables
14
  key = "UCODE_SECRET"