Skip to content

Commit db20cba

Browse files
author
Paul A. Parkanzky
committed
Fix typos and copy-pasteos in Auditor notebook
Signed-off-by: Paul A. Parkanzky <[email protected]>
1 parent e9e8500 commit db20cba

File tree

1 file changed

+9
-31
lines changed

1 file changed

+9
-31
lines changed

nemo/NeMo-Auditor/Getting_Started_With_NeMo_Auditor.ipynb

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -41,49 +41,27 @@
4141
},
4242
{
4343
"cell_type": "code",
44-
"execution_count": 1,
44+
"execution_count": 2,
4545
"id": "28273bbd-c084-40ff-8f5a-263e16e64883",
4646
"metadata": {},
47-
"outputs": [
48-
{
49-
"name": "stdout",
50-
"output_type": "stream",
51-
"text": [
52-
"Enter you NVIDIA API Key: ········\n"
53-
]
54-
},
55-
{
56-
"name": "stdout",
57-
"output_type": "stream",
58-
"text": [
59-
"✓ NVIDIA API Key set successfully\n"
60-
]
61-
}
62-
],
47+
"outputs": [],
6348
"source": [
6449
"import os\n",
6550
"import getpass\n",
6651
"\n",
6752
"if not os.environ.get(\"NVIDIA_API_KEY\", \"\").startswith(\"nvapi-\"):\n",
68-
" nvidia_api_key = getpass.getpass(\"Enter you NVIDIA API Key: \")\n",
53+
" nvidia_api_key = getpass.getpass(\"Enter your NVIDIA API Key: \")\n",
6954
" assert nvidia_api_key.startswith(\"nvapi-\"), \"Not a valid key\"\n",
7055
" os.environ[\"NVIDIA_API_KEY\"] = nvidia_api_key\n",
7156
" print(\"✓ NVIDIA API Key set successfully\")"
7257
]
7358
},
7459
{
7560
"cell_type": "code",
76-
"execution_count": 2,
61+
"execution_count": 4,
7762
"id": "3cf8644d-51f1-44f9-8684-4c2afca9f349",
7863
"metadata": {},
7964
"outputs": [
80-
{
81-
"name": "stdout",
82-
"output_type": "stream",
83-
"text": [
84-
"Enter you NIM API Key: ········\n"
85-
]
86-
},
8765
{
8866
"name": "stdout",
8967
"output_type": "stream",
@@ -97,8 +75,8 @@
9775
"import getpass\n",
9876
"\n",
9977
"if not os.environ.get(\"NIM_API_KEY\", \"\").startswith(\"nvapi-\"):\n",
100-
" nim_api_key = getpass.getpass(\"Enter you NIM API Key: \")\n",
101-
" assert nvidia_api_key.startswith(\"nvapi-\"), \"Not a valid key\"\n",
78+
" nim_api_key = getpass.getpass(\"Enter your NIM API Key: \")\n",
79+
" assert nim_api_key.startswith(\"nvapi-\"), \"Not a valid key\"\n",
10280
" os.environ[\"NIM_API_KEY\"] = nim_api_key\n",
10381
" print(\"✓ NIM API Key set successfully\")"
10482
]
@@ -877,9 +855,9 @@
877855
],
878856
"metadata": {
879857
"kernelspec": {
880-
"display_name": "Python (NeMo Auditor)",
858+
"display_name": "Python 3 (ipykernel)",
881859
"language": "python",
882-
"name": "nemoauditor_env"
860+
"name": "python3"
883861
},
884862
"language_info": {
885863
"codemirror_mode": {
@@ -891,7 +869,7 @@
891869
"name": "python",
892870
"nbconvert_exporter": "python",
893871
"pygments_lexer": "ipython3",
894-
"version": "3.12.3"
872+
"version": "3.10.2"
895873
}
896874
},
897875
"nbformat": 4,

0 commit comments

Comments
 (0)