Upload on_start.sh
Browse files- scripts/on_start.sh +16 -0
scripts/on_start.sh
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# This script runs every time your Studio starts, from your home directory.
|
| 4 |
+
|
| 5 |
+
# Logs from previous runs can be found in ~/.lightning_studio/logs/
|
| 6 |
+
echo "Preparando Archivos Temporales..."
|
| 7 |
+
python ~/temp_dir.py
|
| 8 |
+
# List files under fast_load that need to load quickly on start (e.g. model checkpoints).
|
| 9 |
+
#
|
| 10 |
+
# ! fast_load
|
| 11 |
+
# <your file here>
|
| 12 |
+
|
| 13 |
+
# Add your startup commands below.
|
| 14 |
+
#
|
| 15 |
+
# Example: streamlit run my_app.py
|
| 16 |
+
# Example: gradio my_app.py
|