mirror of
https://github.com/TaterTotterson/microWakeWord-Trainer-Nvidia-Docker.git
synced 2026-06-12 20:10:19 -06:00
Create startup.sh
This commit is contained in:
11
startup.sh
Normal file
11
startup.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Check if the notebook exists in /data
|
||||||
|
if [ ! -f /data/basic_training_notebook.ipynb ]; then
|
||||||
|
echo "Notebook not found in /data. Copying the default notebook..."
|
||||||
|
cp /root/basic_training_notebook.ipynb /data/basic_training_notebook.ipynb
|
||||||
|
else
|
||||||
|
echo "Notebook already exists in /data. Skipping copy."
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec "$@"
|
||||||
Reference in New Issue
Block a user