Kenzabad commited on
Commit
09cf15b
1 Parent(s): c34dc73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -5,7 +5,7 @@ from subprocess import Popen
5
  # CONFIGURE YOUR SETTINGS HERE
6
 
7
  # Space separated list of .py or .ipynb files to serve
8
- APPS_TO_SERVE = "pages/index.py pages/videostream.py"
9
  # Prefix of the index .py or .ipynb file. Must be in APPS_TO_SERVE too
10
  INDEX_PAGE = "index"
11
 
@@ -32,8 +32,8 @@ command = [
32
  # "debug"
33
  ]
34
  if os.name != "nt":
35
- command = command + ["--num-procs", "4", "--num-threads", "4"]
36
 
37
  print(" ".join(command))
38
- worker = Popen(command)
39
- worker.wait()
 
5
  # CONFIGURE YOUR SETTINGS HERE
6
 
7
  # Space separated list of .py or .ipynb files to serve
8
+ APPS_TO_SERVE = "pages/index.py pages/videostream.py pages/my_dashboard.py"
9
  # Prefix of the index .py or .ipynb file. Must be in APPS_TO_SERVE too
10
  INDEX_PAGE = "index"
11
 
 
32
  # "debug"
33
  ]
34
  if os.name != "nt":
35
+ command = command + ["--num-procs", "4", "--num-threads", "4"]
36
 
37
  print(" ".join(command))
38
+ worker = Popen(command)
39
+ worker.wait()