abenkbp commited on
Commit
22d4d5a
·
1 Parent(s): 52250b6
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -10,8 +10,10 @@ node = "source /home/user/.bashrc && source /home/user/.nvm/nvm.sh && nvm instal
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')
12
  subprocess.Popen(node, shell=True, executable='/bin/bash').wait()
 
13
  api_env = "npm install -g n8n"
14
  subprocess.Popen(api_env, shell=True, executable='/bin/bash').wait()
 
15
  service_env = "npm install -g forever"
16
  subprocess.Popen(service_env, shell=True, executable='/bin/bash').wait()
17
  subprocess.call(["forever","start","/home/user/.nvm/versions/node/v20.15.1/bin/n8n"])
 
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')
12
  subprocess.Popen(node, shell=True, executable='/bin/bash').wait()
13
+
14
  api_env = "npm install -g n8n"
15
  subprocess.Popen(api_env, shell=True, executable='/bin/bash').wait()
16
+
17
  service_env = "npm install -g forever"
18
  subprocess.Popen(service_env, shell=True, executable='/bin/bash').wait()
19
  subprocess.call(["forever","start","/home/user/.nvm/versions/node/v20.15.1/bin/n8n"])
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
  huggingface_hub==0.22.2
2
- NumPy==2.0
 
1
  huggingface_hub==0.22.2
2
+ NumPy<2.0