Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import subprocess
|
| 2 |
-
|
| 3 |
-
def start_mlflow_server(host="0.0.0.0", port=7860, backend_uri=
|
| 4 |
"""
|
| 5 |
Starts an MLflow tracking server with authentication using --app-name basic-auth.
|
| 6 |
|
|
|
|
| 1 |
import subprocess
|
| 2 |
+
import os
|
| 3 |
+
def start_mlflow_server(host="0.0.0.0", port=7860, backend_uri=os.getenv("backend_uri"), artifact_root="/app/mlflow_data/mlruns"):
|
| 4 |
"""
|
| 5 |
Starts an MLflow tracking server with authentication using --app-name basic-auth.
|
| 6 |
|