thinh-vu commited on
Commit
70981f4
1 Parent(s): d7bf69b

Update init.py

Browse files
Files changed (1) hide show
  1. init.py +2 -2
init.py CHANGED
@@ -23,10 +23,10 @@ def core_engine_setup():
23
  os.chdir(secure_repo)
24
 
25
  try:
26
- core_engine_setup()
27
- print('The core engine initialized successfully!')
28
  # subprocess.run(f"ls -l", shell=True, check=True)
29
  if not os.path.isfile("requirements_installed.txt"):
 
 
30
  subprocess.run(["pip", "install", "-r", "requirements.txt"], check=True)
31
  # Create a file indicating requirements have been installed
32
  with open("requirements_installed.txt", "w") as f:
 
23
  os.chdir(secure_repo)
24
 
25
  try:
 
 
26
  # subprocess.run(f"ls -l", shell=True, check=True)
27
  if not os.path.isfile("requirements_installed.txt"):
28
+ core_engine_setup()
29
+ print('The core engine initialized successfully!')
30
  subprocess.run(["pip", "install", "-r", "requirements.txt"], check=True)
31
  # Create a file indicating requirements have been installed
32
  with open("requirements_installed.txt", "w") as f: