mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[Serve] [doc] Add model URI to deployment example (#18085)
This commit is contained in:
parent
c16e730f0e
commit
ea4f54f8ef
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ class will allow you to load a model using its MLflow `Model URI`:
|
|||
df = pd.read_csv(csv_text)
|
||||
return self.model.predict(df)
|
||||
|
||||
MLflowDeployment.deploy()
|
||||
model_uri = "model:/my_registered_model/Production"
|
||||
MLflowDeployment.deploy(model_uri)
|
||||
|
||||
.. tip::
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue