gemini-codes-week2
This commit is contained in:
@@ -28,18 +28,10 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"execution_count": null,
|
||||
"id": "5fb5b749-d84b-4f8c-bfb9-2f5c4e8a2daa",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Google API Key exists and begins AIzaSyDU\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"load_dotenv()\n",
|
||||
"# openai_api_key = os.getenv('OPENAI_API_KEY')\n",
|
||||
@@ -88,21 +80,10 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 19,
|
||||
"execution_count": null,
|
||||
"id": "6d331aaf-162b-499e-af7e-5e097e84f1bd",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Why was the Data Scientist sad? \n",
|
||||
"\n",
|
||||
"Because they didn't get any arrays!\n",
|
||||
"\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# The API for Gemini has a slightly different structure.\n",
|
||||
"# I've heard that on some PCs, this Gemini code causes the Kernel to crash.\n",
|
||||
|
||||
Reference in New Issue
Block a user