abenkbp commited on
Commit
af8489f
·
1 Parent(s): ec8792a
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -6,16 +6,11 @@ import json
6
  import base64
7
  from huggingface_hub import InferenceClient, login
8
 
9
- subprocess.run(["pip","install","--upgrade","pip"])
10
- subprocess.call
11
- subprocess.run("curl -o- file:///home/user/app/data/setup.sh | bash", shell=True, executable='/bin/bash')
12
- subprocess.call
13
- subprocess.run("source /home/user/.bashrc", shell=True, executable='/bin/bash')
14
- subprocess.call
15
- subprocess.run("nvm install lts/iron", shell=True, executable='/bin/bash')
16
- subprocess.call
17
- subprocess.run("npm update -g npm", shell=True, executable='/bin/bash')
18
- subprocess.call
19
 
20
  # Get the API key from environment variables
21
  key = "UCODE_SECRET"
 
6
  import base64
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("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"