Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nick863 committed Apr 16, 2024
1 parent 2bada59 commit a6240d6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/promptflow-evals/samples/EvaluatorUpload.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"import yaml\n",
"\n",
"from azure.ai.ml import MLClient\n",
"from azure.identity._credentials.default import AzureCliCredential\n",
"from azure.identity._credentials.default import DefaultAzureCredential\n",
"from azure.ai.ml.entities import (\n",
" Model\n",
")\n",
Expand Down Expand Up @@ -223,10 +223,7 @@
" \"subscription_id\": \"subscription-uuid\",\r\n",
" \"registry_name\": \"registry-name\"\r\n",
"}\r\n",
"```\"\r\n",
"\n",
"\n",
"``````"
"```\r\n"
]
},
{
Expand Down Expand Up @@ -259,7 +256,7 @@
"config_ws = configuration.copy()\n",
"del config_ws[\"registry_name\"]\n",
"\n",
"credential = AzureCliCredential()\n",
"credential = DefaultAzureCredential()\n",
"ml_client = MLClient(\n",
" credential=credential,\n",
" **config_ws\n",
Expand Down

0 comments on commit a6240d6

Please sign in to comment.