Spaces:
Running
Running
Update init.py
Browse files
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:
|