gemini-codes-week2

This commit is contained in:
Gore Shardul
2024-12-30 11:51:06 +05:30
parent e599d923d6
commit fbb5569ba1
3 changed files with 26 additions and 291 deletions

View File

@@ -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",