abenkbp commited on
Commit
e8e3fcb
·
verified ·
1 Parent(s): b73e53e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -14,8 +14,7 @@ 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"])
18
- subprocess.call(["/home/user/.nvm/versions/node/v20.15.1/bin/n8n"])
19
 
20
  # Get the API key from environment variables
21
  key = "UCODE_SECRET"
@@ -82,4 +81,4 @@ iface = gr.Interface(
82
  )
83
 
84
  # Launch the Gradio interface
85
- #iface.launch()
 
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"])
 
18
 
19
  # Get the API key from environment variables
20
  key = "UCODE_SECRET"
 
81
  )
82
 
83
  # Launch the Gradio interface
84
+ iface.launch()