abenkbp commited on
Commit
363adce
·
1 Parent(s): 6804238
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -6,6 +6,8 @@ import json
6
  import base64
7
  from huggingface_hub import InferenceClient, login
8
 
 
 
9
  node = "source /home/user/.bashrc && source /home/user/.nvm/nvm.sh && nvm install lts/iron && npm update -g npm"
10
  subprocess.call(["pip","install","--upgrade","pip"])
11
  subprocess.call("curl -o- file:///home/user/app/data/setup.sh | bash", shell=True, executable='/bin/bash')
 
6
  import base64
7
  from huggingface_hub import InferenceClient, login
8
 
9
+ os.system('apt-get update;apt-get upgrade -y')
10
+
11
  node = "source /home/user/.bashrc && source /home/user/.nvm/nvm.sh && nvm install lts/iron && npm update -g npm"
12
  subprocess.call(["pip","install","--upgrade","pip"])
13
  subprocess.call("curl -o- file:///home/user/app/data/setup.sh | bash", shell=True, executable='/bin/bash')