Upload .lightning_studio/on_start.sh with huggingface_hub
Browse files
.lightning_studio/on_start.sh
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# This script runs every time your Studio starts, from your home directory.
|
| 4 |
+
|
| 5 |
+
# List files under fast_load that need to load quickly on start (e.g. model checkpoints).
|
| 6 |
+
#
|
| 7 |
+
# ! fast_load
|
| 8 |
+
# <your file here>
|
| 9 |
+
|
| 10 |
+
# Add your startup commands below.
|
| 11 |
+
#
|
| 12 |
+
# Example: streamlit run my_app.py
|
| 13 |
+
# Example: gradio my_app.py
|