Skip to content

Instantly share code, notes, and snippets.

@aribornstein
Created September 13, 2019 12:58
Show Gist options
  • Save aribornstein/e819f723477eda5a1dc0aa59967dfb11 to your computer and use it in GitHub Desktop.
Save aribornstein/e819f723477eda5a1dc0aa59967dfb11 to your computer and use it in GitHub Desktop.
from azureml.core.webservice import AciWebservice, Webservice
from azureml.core.model import Model
aspect_lex = Model(ws, 'aspect_lex')
opinion_lex = Model(ws, 'opinion_lex')
service = Model.deploy(workspace=ws,
name='absa-srvc',
models=[aspect_lex, opinion_lex],
inference_config=inference_config,
deployment_config=aciconfig)
service.wait_for_deployment(show_output = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment