provide caddyfile basic auth for the mlflow

This commit is contained in:
Tomasz Dłuski
2021-11-19 21:57:53 +01:00
parent b6ecfe7d0c
commit 6a93c977e4
3 changed files with 56 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ from mlflow import mlflow,log_metric, log_param, log_artifacts
if __name__ == "__main__":
with mlflow.start_run() as run:
mlflow.set_tracking_uri('http://localhost:5000')
mlflow.set_tracking_uri('https://mlflow.localhost')
print("Running mlflow_tracking.py")
log_param("param1", randint(0, 100))