Spaces:
Paused
Paused
Update start_server.sh
Browse files- start_server.sh +3 -0
start_server.sh
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
#!/bin/bash
|
2 |
|
|
|
3 |
mkdir -p /data/mlruns
|
|
|
4 |
|
|
|
5 |
mlflow server \
|
6 |
--host 0.0.0.0 \
|
7 |
--port 7860 \
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
# Ensure the /data directory exists and has proper permissions
|
4 |
mkdir -p /data/mlruns
|
5 |
+
chmod -R 777 /data
|
6 |
|
7 |
+
# Start the MLflow server
|
8 |
mlflow server \
|
9 |
--host 0.0.0.0 \
|
10 |
--port 7860 \
|