Skip to content

Commit c9d188a

Browse files
committed
Added openai key cell in notebooks
1 parent 93579dd commit c9d188a

File tree

6 files changed

+73
-2
lines changed

6 files changed

+73
-2
lines changed

conda/amadesuGPT-minimal.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ channels:
44
- defaults
55
dependencies:
66
- python==3.10
7+
- pytables==3.8.0
78
- hdf5
89
- pip
910
- jupyter

notebooks/EPM_demo.ipynb

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 1,
5+
"execution_count": 7,
66
"id": "bceb3204-2a87-4671-8135-2533a7a51771",
77
"metadata": {},
88
"outputs": [],
9+
"source": [
10+
"#If th openai api key is not set already, please set it here.\n",
11+
"import os\n",
12+
"os.environ['OPENAI_API_KEY'] = 'your key'"
13+
]
14+
},
15+
{
16+
"cell_type": "code",
17+
"execution_count": null,
18+
"id": "1b8da600",
19+
"metadata": {},
20+
"outputs": [],
921
"source": [
1022
"import matplotlib\n",
1123
"%matplotlib widget\n",
@@ -17,6 +29,15 @@
1729
"import cv2"
1830
]
1931
},
32+
{
33+
"cell_type": "markdown",
34+
"id": "2c861a70",
35+
"metadata": {},
36+
"source": [
37+
"### Set the scene number to visualize your video in a specific frame\n",
38+
"### Make sure your animal(s) are visible on that frame so gpt-4o can configure AmadeusGPT correctly"
39+
]
40+
},
2041
{
2142
"cell_type": "code",
2243
"execution_count": 2,
@@ -128,7 +149,8 @@
128149
"id": "e0c27287",
129150
"metadata": {},
130151
"source": [
131-
"### Draw ROIs. Press Esc when you are done drawing each ROI"
152+
"### Draw ROIs. Press Esc when you are done drawing each ROI.\n",
153+
"### After done just run the next cell."
132154
]
133155
},
134156
{

notebooks/Horse_demo.ipynb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "6245b791",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"#If th openai api key is not set already, please set it here.\n",
11+
"import os\n",
12+
"os.environ['OPENAI_API_KEY'] = 'your key'"
13+
]
14+
},
315
{
416
"cell_type": "code",
517
"execution_count": 1,

notebooks/MABe_demo.ipynb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "7829458f",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"#If th openai api key is not set already, please set it here.\n",
11+
"import os\n",
12+
"os.environ['OPENAI_API_KEY'] = 'your key'"
13+
]
14+
},
315
{
416
"cell_type": "code",
517
"execution_count": 9,

notebooks/MausHaus_demo.ipynb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "5fbc36a0",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"#If th openai api key is not set already, please set it here.\n",
11+
"import os\n",
12+
"os.environ['OPENAI_API_KEY'] = 'your key'"
13+
]
14+
},
315
{
416
"cell_type": "code",
517
"execution_count": 1,

notebooks/custom_mouse_video.ipynb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "f01f49c5",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"#If th openai api key is not set already, please set it here.\n",
11+
"import os\n",
12+
"os.environ['OPENAI_API_KEY'] = 'your key'"
13+
]
14+
},
315
{
416
"cell_type": "code",
517
"execution_count": 1,

0 commit comments

Comments
 (0)