Spaces:
Running
Running
Commit
•
f668436
1
Parent(s):
b4533e1
Update start_server.sh
Browse files- start_server.sh +1 -5
start_server.sh
CHANGED
@@ -3,11 +3,7 @@ JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
|
3 |
|
4 |
echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
|
5 |
|
6 |
-
NOTEBOOK_DIR="/
|
7 |
-
|
8 |
-
if [ -d "/data" ] && [ -w "/data" ]; then
|
9 |
-
NOTEBOOK_DIR="/data"
|
10 |
-
fi
|
11 |
|
12 |
jupyter-lab \
|
13 |
--ip 0.0.0.0 \
|
|
|
3 |
|
4 |
echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
|
5 |
|
6 |
+
NOTEBOOK_DIR="/data"
|
|
|
|
|
|
|
|
|
7 |
|
8 |
jupyter-lab \
|
9 |
--ip 0.0.0.0 \
|