rahim-xelpmoc commited on
Commit
f2a48e6
·
verified ·
1 Parent(s): 73d63a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="sqlite:////app/mlflow_data/mlflow.db", artifact_root="/app/mlflow_data/mlruns"):
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