Skip to content

Commit dc09017

Browse files
authored
import order fix
1 parent 753cca3 commit dc09017

File tree

2 files changed

+40
-18
lines changed

2 files changed

+40
-18
lines changed

notebooks/Use_Task_Program.ipynb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@
3333
"mykey = \"paste-your-key-here\""
3434
]
3535
},
36+
{
37+
"cell_type": "code",
38+
"execution_count": null,
39+
"metadata": {},
40+
"outputs": [],
41+
"source": [
42+
"import os\n",
43+
"if 'OPENAI_API_KEY' not in os.environ:\n",
44+
" os.environ['OPENAI_API_KEY'] = mykey"
45+
]
46+
},
3647
{
3748
"cell_type": "code",
3849
"execution_count": null,
@@ -208,7 +219,14 @@
208219
"name": "python",
209220
"nbconvert_exporter": "python",
210221
"pygments_lexer": "ipython3",
211-
"version": "3.10.0"
222+
"version": "3.12.2"
223+
},
224+
"widgets": {
225+
"application/vnd.jupyter.widget-state+json": {
226+
"state": {},
227+
"version_major": 2,
228+
"version_minor": 0
229+
}
212230
}
213231
},
214232
"nbformat": 4,

notebooks/YourData.ipynb

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@
3737
"mykey = \"paste-your-key-here\""
3838
]
3939
},
40+
{
41+
"cell_type": "code",
42+
"execution_count": null,
43+
"id": "cd8cbb8f-4a13-4a5d-b03b-a00e08b9bd24",
44+
"metadata": {},
45+
"outputs": [],
46+
"source": [
47+
"import os\n",
48+
"if 'OPENAI_API_KEY' not in os.environ:\n",
49+
" os.environ['OPENAI_API_KEY'] = mykey"
50+
]
51+
},
4052
{
4153
"cell_type": "code",
4254
"execution_count": null,
@@ -66,20 +78,6 @@
6678
"import deeplabcut"
6779
]
6880
},
69-
{
70-
"cell_type": "code",
71-
"execution_count": null,
72-
"id": "963f03b1",
73-
"metadata": {},
74-
"outputs": [],
75-
"source": [
76-
"#If th openai api key is not set already, please set it here.\n",
77-
"import os\n",
78-
"if 'OPENAI_API_KEY' not in os.environ:\n",
79-
" os.environ['OPENAI_API_KEY'] = mykey\n",
80-
"amadeusgpt.__file__"
81-
]
82-
},
8381
{
8482
"cell_type": "code",
8583
"execution_count": null,
@@ -103,7 +101,6 @@
103101
"- Make sure you use a short video clips if you are not using GPUs in Linux (Mac silicon support to be added)!"
104102
]
105103
},
106-
107104
{
108105
"cell_type": "code",
109106
"execution_count": null,
@@ -182,7 +179,7 @@
182179
],
183180
"metadata": {
184181
"kernelspec": {
185-
"display_name": "amadeusgpt-minimal",
182+
"display_name": "Python 3 (ipykernel)",
186183
"language": "python",
187184
"name": "python3"
188185
},
@@ -196,7 +193,14 @@
196193
"name": "python",
197194
"nbconvert_exporter": "python",
198195
"pygments_lexer": "ipython3",
199-
"version": "3.10.0"
196+
"version": "3.12.2"
197+
},
198+
"widgets": {
199+
"application/vnd.jupyter.widget-state+json": {
200+
"state": {},
201+
"version_major": 2,
202+
"version_minor": 0
203+
}
200204
}
201205
},
202206
"nbformat": 4,

0 commit comments

Comments
 (0)