add default uri
This commit is contained in:
parent
15bd8c89a5
commit
1a0d9a1c85
@ -1,15 +1,13 @@
|
||||
import mlflow as mlf
|
||||
import json
|
||||
import mlflow as mlf
|
||||
import pandas as pd
|
||||
|
||||
model_name = "s430705"
|
||||
model_version = 8
|
||||
|
||||
mlf.set_tracking_uri("http://172.17.0.1:5000")
|
||||
model = mlf.pyfunc.load_model(
|
||||
model_uri=f"models:/{model_name}/{model_version}"
|
||||
)
|
||||
|
||||
with open('movies_imdb/input_example.json', 'r') as datafile:
|
||||
data = json.load(datafile)['inputs']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user