debug
Browse files
app.py
CHANGED
|
@@ -17,6 +17,8 @@ if not os.path.exists("/home/user/.flag"):
|
|
| 17 |
node_path = f"/home/user/.nvm/versions/node/{node_version_dir}/bin/"
|
| 18 |
subprocess.Popen(["forever", "start", f"{node_path}n8n"]).wait()
|
| 19 |
|
|
|
|
|
|
|
| 20 |
# Get the API key from environment variables
|
| 21 |
api_key = os.getenv("UCODE_SECRET")
|
| 22 |
login(api_key)
|
|
|
|
| 17 |
node_path = f"/home/user/.nvm/versions/node/{node_version_dir}/bin/"
|
| 18 |
subprocess.Popen(["forever", "start", f"{node_path}n8n"]).wait()
|
| 19 |
|
| 20 |
+
subprocess.Popen("cd /home/user/app/data && npm install express @huggingface/inference dotenv", shell=True, executable='/bin/bash').wait()
|
| 21 |
+
|
| 22 |
# Get the API key from environment variables
|
| 23 |
api_key = os.getenv("UCODE_SECRET")
|
| 24 |
login(api_key)
|