fixing deployment configs
This commit is contained in:
Родитель
36aaaa1d9a
Коммит
f2576d4409
|
@ -30,7 +30,7 @@ def run(raw_data):
|
|||
method and return the result back
|
||||
"""
|
||||
logging.info("Request received")
|
||||
article = json.loads(raw_data)["data"]
|
||||
article = json.loads(raw_data)["input_data"]
|
||||
if "t5" in model.config.architectures[0].lower():
|
||||
article= "summarize:" + article
|
||||
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,6 +1,6 @@
|
|||
$schema: https://azuremlschemas.azureedge.net/latest/managedOnlineDeployment.schema.json
|
||||
name: blue
|
||||
endpoint_name: dogs-classifier-online
|
||||
model: azureml:resnet-dogs-classifier@latest
|
||||
endpoint_name: summarization-pubmed-online
|
||||
model: azureml:microsoft-ssr-base-pubmed@latest
|
||||
instance_type: Standard_DS2_v2
|
||||
instance_count: 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$schema: https://azuremlschemas.azureedge.net/latest/managedOnlineEndpoint.schema.json
|
||||
name: dogs-classifier-online
|
||||
description: Stanford Dogs Classifier
|
||||
name: summarization-pubmed-online
|
||||
description: Summarization of medical text
|
||||
auth_mode: key
|
Загрузка…
Ссылка в новой задаче