Spaces:
Sleeping
Sleeping
modified: app.py
Browse filesmodified: startup.sh
- app.py +1 -1
- startup.sh +1 -0
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def run_setup_script():
|
|
| 12 |
f"bash -c 'source ~/.bashrc && bash {setup_script_path}'",
|
| 13 |
shell=True,
|
| 14 |
check=True,
|
| 15 |
-
)
|
| 16 |
print("Setup script and environment initialization completed successfully!")
|
| 17 |
except subprocess.CalledProcessError as e:
|
| 18 |
print(f"Error while running setup script or sourcing .bashrc: {e}")
|
|
|
|
| 12 |
f"bash -c 'source ~/.bashrc && bash {setup_script_path}'",
|
| 13 |
shell=True,
|
| 14 |
check=True,
|
| 15 |
+
)
|
| 16 |
print("Setup script and environment initialization completed successfully!")
|
| 17 |
except subprocess.CalledProcessError as e:
|
| 18 |
print(f"Error while running setup script or sourcing .bashrc: {e}")
|
startup.sh
CHANGED
|
@@ -41,5 +41,6 @@ echo "Building and installing Warp for GarmentCode..."
|
|
| 41 |
# <build and install warp for GarmentCode>
|
| 42 |
chmod -R 777 NvidiaWarp-GarmentCode/tools/
|
| 43 |
source ~/.bashrc
|
|
|
|
| 44 |
# Сообщение об успешной настройке
|
| 45 |
echo "Setup complete! Please restart your terminal or run 'source ~/.bashrc' to apply changes."
|
|
|
|
| 41 |
# <build and install warp for GarmentCode>
|
| 42 |
chmod -R 777 NvidiaWarp-GarmentCode/tools/
|
| 43 |
source ~/.bashrc
|
| 44 |
+
python ./NvidiaWarp-GarmentCode/build_lib.py
|
| 45 |
# Сообщение об успешной настройке
|
| 46 |
echo "Setup complete! Please restart your terminal or run 'source ~/.bashrc' to apply changes."
|