kamau1 commited on
Commit
40e6e86
·
1 Parent(s): 1930951

Update start.py

Browse files
Files changed (1) hide show
  1. start.py +4 -1
start.py CHANGED
@@ -1,3 +1,6 @@
1
  import subprocess
 
2
 
3
- subprocess.run("app.py", shell=True)
 
 
 
1
  import subprocess
2
+ import os
3
 
4
+ app_file = "app.py"
5
+ app_full_path = os.path.join(os.path.dirname(__file__), app_file)
6
+ subprocess.run(app_full_path, shell=True)