ronvolutional commited on
Commit
bd2d49e
·
1 Parent(s): c6811c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ import subprocess
2
 
3
  subprocess.run("wget --version", shell=True)
4
  subprocess.run("wget https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh && bash install.sh", shell=True)
5
- subprocess.run("source ~/.bashrc", shell=True)
 
6
  subprocess.run("nvm -v", shell=True)
7
  subprocess.run("nvm install v18", shell=True)
8
  #subprocess.run("curl -fsSL https://deb.nodesource.com/setup_18.x", shell=True)
 
2
 
3
  subprocess.run("wget --version", shell=True)
4
  subprocess.run("wget https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh && bash install.sh", shell=True)
5
+ subprocess.run(". ~/.bashrc", shell=True)
6
+ subprocess.run("export NVM_DIR='$HOME/.nvm'", shell=True)
7
  subprocess.run("nvm -v", shell=True)
8
  subprocess.run("nvm install v18", shell=True)
9
  #subprocess.run("curl -fsSL https://deb.nodesource.com/setup_18.x", shell=True)