ulduldp commited on
Commit
7485493
·
verified ·
1 Parent(s): 7e6dccf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,5 +1,12 @@
1
  import subprocess
2
 
 
 
 
 
 
 
 
3
  result = subprocess.run(
4
  ["node", "index.js"],
5
  capture_output=True,
 
1
  import subprocess
2
 
3
+ subprocess.run(
4
+ ["npm", "install", "express", "socket.io"],
5
+ capture_output=True,
6
+ text=True
7
+ )
8
+
9
+
10
  result = subprocess.run(
11
  ["node", "index.js"],
12
  capture_output=True,