Spaces:
Runtime error
Runtime error
Commit
·
6659b40
1
Parent(s):
c1c33a0
chore: Add on_startup.sh script for initializing data directory
Browse files- on_startup.sh +17 -0
on_startup.sh
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# #!/bin/bash
|
| 2 |
+
# git clone https://github.com/davanstrien/awesome-synthetic-datasets
|
| 3 |
+
# # Check if /data directory is accessible
|
| 4 |
+
# if [ -d "/data" ]; then
|
| 5 |
+
# echo "/data directory is available."
|
| 6 |
+
|
| 7 |
+
# # Copying notebooks to /data directory
|
| 8 |
+
# # Ensure that the source path is correctly specified where your Jupyter notebooks are located
|
| 9 |
+
# cp -r awesome-synthetic-datasets/* /data/
|
| 10 |
+
|
| 11 |
+
# # Alternatively, if you want to move the notebooks uncomment the following line and comment out the cp line above
|
| 12 |
+
# # mv /path/to/notebooks/* /data/
|
| 13 |
+
|
| 14 |
+
# echo "Notebooks have been successfully copied to /data."
|
| 15 |
+
# else
|
| 16 |
+
# echo "Error: /data directory does not exist."
|
| 17 |
+
# fi
|