Created
November 5, 2019 14:08
-
-
Save ldrewniak/e504bd557f50b74921f819a6347bec8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from subprocess import Popen | |
import webbrowser | |
import time | |
mlflow_port = 5002 | |
Popen(f"cmd /c mlflow ui --port={mlflow_port}", shell=True, stdin=None, stdout=None, stderr=None, close_fds=True) | |
# give a sec till this start-up | |
time.sleep(1) | |
webbrowser.open(f"http://kubernetes.docker.internal:{mlflow_port}") | |
Popen("cmd /c jupyter notebook --notebook-dir=notebooks", shell=True, stdin=None, stdout=None, stderr=None, close_fds=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment