Spaces:
Sleeping
Sleeping
Update custom_utils/setup_env.py
Browse files
custom_utils/setup_env.py
CHANGED
|
@@ -15,8 +15,4 @@ def run_setup_script():
|
|
| 15 |
print("Setup script and environment initialization completed successfully!")
|
| 16 |
except subprocess.CalledProcessError as e:
|
| 17 |
print(f"Error while running setup script or sourcing .bashrc: {e}")
|
| 18 |
-
exit(1)
|
| 19 |
-
|
| 20 |
-
# Выполнить setup.sh перед запуском приложения
|
| 21 |
-
if __name__="__main__":
|
| 22 |
-
run_setup_script()
|
|
|
|
| 15 |
print("Setup script and environment initialization completed successfully!")
|
| 16 |
except subprocess.CalledProcessError as e:
|
| 17 |
print(f"Error while running setup script or sourcing .bashrc: {e}")
|
| 18 |
+
exit(1)
|
|
|
|
|
|
|
|
|
|
|
|