debug
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from huggingface_hub import InferenceClient, login
|
|
| 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
|
|
|
|
| 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
|